Joshua Warner
51b510cbea
first pass at cmake + visual studio support
2014-07-30 14:15:15 -06:00
Joshua Warner
31de9a48c9
reformat
2014-07-24 10:09:29 -06:00
Joshua Warner
060b5c8f13
use c++11 variadic templates in Compiler::call
2014-07-24 10:09:29 -06:00
Joshua Warner
4d79f3bea1
Replace Allocator with Alloc or AllocOnly where possible
2014-07-16 18:51:35 -06:00
Joshua Warner
fa1e3d74c0
reduce Allocator interface
2014-07-16 18:51:29 -06:00
Joshua Warner
2d0ac3ac17
reduce vm::Zone interface
2014-07-16 18:41:02 -06:00
Joshua Warner
eb92c904c6
split Tokenizer into its own header
2014-07-16 18:41:02 -06:00
Joshua Warner
a1631c00f9
use size_t in Allocator
2014-07-16 18:10:51 -06:00
Joshua Warner
836cc41320
bulk, global reformat
2014-07-11 13:25:22 -06:00
Joshua Warner
7642b94308
reformat changes since master
2014-07-11 13:25:22 -06:00
Joshua Warner
00e2307c39
apply machine.h changes
2014-07-11 13:25:19 -06:00
Joshua Warner
263e349cae
rename assert to assertT, to avoid conflict with std assert macro
2014-07-11 09:32:57 -06:00
Joshua Warner
b5699cc9dc
move Machine::*Type to GcObject::*Type
2014-07-11 09:32:55 -06:00
Joshua Warner
13452beaab
use arg-parser in type-generator
2014-07-11 09:12:34 -06:00
Joshua Warner
14c960ac6a
improve Slice
2014-05-30 23:40:21 -06:00
Joel Dice
9b7d0d1624
update copyright years
2014-04-23 15:33:41 -06:00
Joshua Warner
db19c7b3a2
add Slice::resize and Slice::alloc
2014-02-25 20:34:03 -07:00
Joshua Warner
a807966143
use Slice<uint8_t> in FixedAllocator
2014-02-25 20:34:03 -07:00
Joshua Warner
b083f3df04
move fixed allocator out of machine.h
2014-02-25 20:34:03 -07:00
Joshua Warner
f69f86b487
move Slice out of object-writer, to be more general
2014-02-25 20:34:03 -07:00
Joshua Warner
52b23b8a6a
move Allocator to include, properly namespaced
2014-02-25 19:13:41 -07:00
Joshua Warner
06432253ba
consolidate many implicit list types into one
2013-12-11 10:54:50 -07:00
Joel Dice
87b02eb949
update copyright years
...
Previously, I used a shell script to extract modification date ranges
from the Git history, but that was complicated and unreliable, so now
every file just gets the same year range in its copyright header. If
someone needs to know when a specific file was modified and by whom,
they can look at the Git history themselves; no need to include it
redundantly in the header.
2013-07-02 20:52:38 -06:00
Joel Dice
b3978c0a0a
fix msvc build
2013-03-04 11:09:59 -07:00
Joshua Warner
9327043bc5
Merge branch 'master' into wip
...
Conflicts:
makefile
src/codegen/arm/assembler.cpp
src/codegen/powerpc/assembler.cpp
src/codegen/x86/assembler.cpp
2013-02-27 19:27:07 -07:00
Joel Dice
5e2d00010b
move headers from src to src/avian
...
This is necessary to avoid name conflicts on various platforms. For
example, iOS has its own util.h, and Windows has a process.h. By
including our version as e.g. "avian/util.h", we avoid confusion with
the system version.
2013-02-27 13:33:29 -07:00
Joshua Warner
aaa076f1df
move arg-parser.h to include
2013-02-21 20:14:37 -07:00
Joshua Warner
af0e7767eb
Merge branch 'master' of github.com:ReadyTalk/avian
...
Conflicts:
makefile
2013-02-21 16:23:22 -07:00
Joshua Warner
ab9f9550cf
move tokenizer.h to include/avian/util/string.h, merge in the String declaration from object-writer/tools.h
2013-02-21 16:18:20 -07:00
Joshua Warner
48691bb50a
move stream.h to include, and type-generator to src/tools
2013-02-20 21:26:34 -07:00
Joel Dice
f04f444f23
modify (THREAD_)RUNTIME_ARRAY definition so RUNTIME_ARRAY_BODY must be used
...
Previously, if you forgot to use RUNTIME_ARRAY_BODY to reference an
array declared with (THREAD_)RUNTIME_ARRAY, you wouldn't get a
compiler error until you tried to build on e.g. MSVC, where
runtime-sized stack arrays aren't supported. This change ensures you
find out regardless of what compiler you're using, which ought to
protect us from regressions going forward.
2013-02-20 17:20:17 -07:00
Joshua Warner
52b2fd74ef
move math functions out of common.h, and into include/avian/util/math.h
2013-02-20 07:51:57 -07:00
Joshua Warner
b9e281612b
move runtime-array to include
2013-02-19 22:56:05 -07:00
Joshua Warner
263c0dee4f
move abort.h to include, add namespacing
2013-02-19 22:51:38 -07:00