Commit Graph
58 Commits
Author SHA1 Message Date
David Anderson 55b590cb8e reorganized ungen opcode stuff
fixed mislabeled ungen ops, then added appropriate notes
added executable memory functions to API
compilation results in an sp_context_t, not a BaseContext now
renamed FreeContextVars() to FreeContext()
other minor changes

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4098
2006-09-24 06:17:10 +00:00
David Anderson 968692755b merged in the easy relocation requiring opcodes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4096
2006-09-23 04:11:01 +00:00
David Anderson 1bf17b05bb sketched out break opcode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4091
2006-09-21 05:04:51 +00:00
David Anderson 9ba07e4b28 added cmps, bounds, halt, and other fixes/additions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4090
2006-09-21 02:58:59 +00:00
David Anderson 2ada767528 committed ret/retn
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4089
2006-09-21 01:48:19 +00:00
David Anderson 894ac3c513 added heap opcode and check function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4088
2006-09-20 23:33:40 +00:00
David Anderson fb39f34d4b committed op.stack
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4085
2006-09-20 21:23:48 +00:00
David Anderson ae9c2187cb implemented op.sctrl
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4084
2006-09-20 20:29:28 +00:00
David Anderson 240d29846c committed OP_LCTRL for some reason
added setpos() to JIT helpers

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4083
2006-09-20 20:11:02 +00:00
David Anderson 0503ac73b7 implemented some more opcode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4081
2006-09-20 15:51:05 +00:00
David Anderson 1577897925 I'm proud to present the first non-backpatched error checking routine!
all of this is untested

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4080
2006-09-20 08:44:21 +00:00
David Anderson 824beee935 Wrote the JIT execution function
Solidified some more code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4079
2006-09-20 07:07:49 +00:00
David Anderson 3cdf54e7e9 fixed AMX_INFO_FRM being used instead of AMX_REG_INFO
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4078
2006-09-20 04:52:13 +00:00
David Anderson 7d0bb14848 added some more macro opcodes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4077
2006-09-20 04:14:53 +00:00
David Anderson 7b3530de67 imported all finished opcodes that do not require jumping/relocation
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4076
2006-09-20 03:56:24 +00:00
David Anderson f7df595ca5 note! we're still not at the point of a build
committed here to fill in more structural integrity

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4075
2006-09-20 02:56:20 +00:00
David Anderson 45aa735928 initial recleaning of this mess, preparing for merge of JIT proper
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4074
2006-09-20 01:59:56 +00:00
David Anderson 302636d5e0 test dummy import of JIT structure
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4073
2006-09-20 00:41:24 +00:00
David Anderson 70a960dd84 initial import of magical new API... FINALLY!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4072
2006-09-19 22:26:13 +00:00
David Anderson 103f958bae fixed whitespace
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4071
2006-09-14 17:08:33 +00:00
David Anderson f53fe346ae changed this a bit to be nicer
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4070
2006-09-14 07:02:02 +00:00
David Anderson c0f7e0b579 initial changes - fixed a code generation bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4069
2006-09-14 05:34:02 +00:00
David Anderson 9743c00e2f the bridge function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4063
2006-08-06 23:31:08 +00:00
David Anderson 03587a329e added debug api fo' real
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4061
2006-08-06 18:38:00 +00:00
David Anderson 28736ae60c added core debug api
added missing setstring function

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4060
2006-08-06 18:37:14 +00:00
David Anderson e0abed88d5 flattened this structure out
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4053
2006-08-02 17:30:12 +00:00
David Anderson c23a23fb34 Added new .dbg.info section to the compiler for helping counting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4051
2006-08-01 23:17:13 +00:00
David Anderson a9b3da5904 fixed a bug with stub offsets being calculated wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4050
2006-08-01 19:49:33 +00:00
David Anderson 8bdd9c20d3 upped version #
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4044
2006-07-31 19:18:09 +00:00
David Anderson dec86a9b2b to preserve cips, pre-compression of code is removed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4043
2006-07-31 19:12:23 +00:00
David Anderson 83ae061c6e begin implementing some helpers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4042
2006-07-31 18:59:17 +00:00
David Anderson e03ab1e6d4 something changed here
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4041
2006-07-30 04:53:53 +00:00
David Anderson 166a2b8a43 fixed bug where disk size was written without the header included
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4040
2006-07-30 04:53:06 +00:00
David Anderson 2f47baee55 fixed headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4039
2006-07-29 23:29:52 +00:00
David Anderson 8f0e90ee29 initial import of API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4038
2006-07-29 21:02:28 +00:00
David Anderson 2c4d892469 reorganized this a tad
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4037
2006-07-28 05:34:12 +00:00
David Anderson 95351749a6 added debug information output
revised file format to make compression global

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4035
2006-07-19 09:58:18 +00:00
David Anderson 5414f803a8 didn't notice this guy because of the stupid icons not showing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4034
2006-07-19 00:53:57 +00:00
David Anderson 66f7568ce7 added binary writer stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4033
2006-07-19 00:53:26 +00:00
David Anderson d0e9590bbd stupid, moved up one dir
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4028
2006-07-15 05:15:15 +00:00
David Anderson 5bdc1e63fb branched to trunk
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4026
2006-07-15 05:07:49 +00:00
David Anderson 97c1fddfd6 initial dir structure
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4025
2006-07-15 05:07:14 +00:00
David Anderson 5151880f27 final build
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4024
2006-07-15 05:02:38 +00:00
David Anderson 8543afd604 added compression flags into header, compiler now finalized
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4023
2006-07-15 04:51:28 +00:00
David Anderson a546f9ba05 frees memory on exit
fixed bug where autozero was defaulted to nozero

--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4022
2006-07-15 03:24:45 +00:00
David Anderson 83331994ed merged in faluco's decl changes !1
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4021
2006-07-15 03:19:23 +00:00
David Anderson 9d384ab391 finished compiler output format
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4020
2006-07-15 03:05:56 +00:00
David Anderson 4ee1db9644 fixed being able to secretly set -C
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4019
2006-07-15 01:39:33 +00:00
David Anderson d2cee081ac finished 2/6 sections for file output
fixed some more minor sm things

--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4018
2006-07-15 01:36:50 +00:00
David Anderson 9cd64d946c public functions can now be passed as arguments, with the tag 'Function:'
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4015
2006-07-14 06:47:51 +00:00
David Anderson 3f8c9a83ad fixed public functions requiring a forward
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4014
2006-07-14 06:21:07 +00:00
David Anderson 97312faf3d wrong arguments moved from warning 202 to error 92
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4013
2006-07-14 06:02:53 +00:00
David Anderson cc6e3f9fab removed debug code
fixed defined() not working with no spaces afterward.
fixed preprocessor not ignoring string literals

--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4012
2006-07-14 05:51:25 +00:00
David Anderson 4825f2ce40 removed warning 208
added __DATE__ and __TIME__
changed forward declarations to have case insensitive arguments

--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4011
2006-07-14 04:51:58 +00:00
David Anderson 79ef836977 oh, fixed linemax
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4010
2006-07-14 04:24:42 +00:00
David Anderson 5f41f7cb79 fixed verbosity on no plugin
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%404
2006-07-14 01:55:21 +00:00
David Anderson 8616a284b7 merged in some of the initial sourcemod changes
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%403
2006-07-14 00:10:39 +00:00
David Anderson 75481e352b initial import of compiler test
--HG--
branch : dvander
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%402
2006-07-13 20:03:46 +00:00