Joshua Warner
31de9a48c9
reformat
2014-07-24 10:09:29 -06:00
Joshua Warner
1ad1fe9048
use enum class in ir
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
f3968d2401
fix compiler problems discovered in openjdk-src arm bootimage build
...
This particular problem was introduced in the recent "compiler types" refactor.
It's unclear why it wasn't encountered before now.
Note that the full, unproguarded bootimage build is still blocked by #305
2014-07-22 15:38:43 -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
80cf745424
move executable allocator out of System class
2014-07-16 18:40:57 -06:00
Joshua Warner
80f19abf3a
put all commented code in if(false) blocks instead; fix ensuing broken code
2014-07-12 10:16:03 -06:00
Joshua Warner
8a4b043ee3
generate makeZeroed method, to return a zero-initialzed instance of a Gc* class
2014-07-11 13:47:43 -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
cbad6931af
retypedef object to GcObject*, remove (almost?) all unnecessary reinterpret_casts
2014-07-11 13:25:22 -06:00
Joshua Warner
b0490b8233
finish using setters
2014-07-11 13:25:22 -06:00
Joshua Warner
cc4eaae706
use setters in compile.cpp
2014-07-11 13:25:21 -06:00
Joshua Warner
ed1f34dca3
formalize MyProcessor::roots (for Compiler) in types.def
2014-07-11 13:25:21 -06:00
Joshua Warner
052f2498aa
formalize Machine::roots in types.def
2014-07-11 13:25:21 -06:00
Joshua Warner
a1583f1ecc
touch up type safety in types.def
2014-07-11 13:25:20 -06:00
Joshua Warner
c796bdbde4
add bootimage-generator/main.cpp changes
2014-07-11 13:25:20 -06:00
Joshua Warner
924f242e66
add compile.cpp changes
2014-07-11 13:25:20 -06:00
Joshua Warner
1e201e54fc
staticly type GcContinuation*
2014-07-11 13:25:20 -06:00
Joshua Warner
b8ddc779a2
staticly type GcReference
2014-07-11 13:25:20 -06:00
Joshua Warner
bb331e9414
make callNode and methodRuntimeData.native better statically typed
2014-07-11 13:25:19 -06:00
Joshua Warner
00e2307c39
apply machine.h changes
2014-07-11 13:25:19 -06:00
Joshua Warner
9ffbd7e9fe
staticly type GcClassLoader instances
2014-07-11 13:25:19 -06:00
Joshua Warner
6a0502bbfe
add util.cpp/.h changes
2014-07-11 13:25:19 -06:00
Joshua Warner
51368651dc
better statically type Processor interface
2014-07-11 13:25:19 -06:00
Joshua Warner
0ec87c6aa1
statically type Addendum.pool better
2014-07-11 13:25:19 -06:00
Joshua Warner
9f5912c2b6
add stronger typing to method.code
2014-07-11 13:25:19 -06:00
Joshua Warner
9248f8f8ad
add stronger typing to code.singleton
2014-07-11 13:25:18 -06:00
Joshua Warner
4754a92b75
split code.stackMap out of code.pool use
2014-07-11 13:25:18 -06:00
Joshua Warner
083dc17810
add stronger typing to code.lineNumberTable
2014-07-11 13:25:18 -06:00
Joshua Warner
194e3b2701
add VMClass changes
2014-07-11 13:25:18 -06:00
Joshua Warner
9b36dca846
generate better typed accessors from type-generator (and switch to using standard library there)
2014-07-11 13:25:17 -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
Joel Dice
b16dd4e63f
only enter IdleState if necessary in idleIfNecessary
...
There's no need to enter IdleState (and incur synchronization
overhead) unless another thread is waiting to enter ExclusiveState.
This change improves the performance of the MemoryRamp test by a
factor of about 100.
2014-06-05 07:49:49 -06:00
Joshua Warner
1fb6a0bceb
fix up creation of ir::Type
2014-06-01 14:22:51 -06:00
Joshua Warner
68b725900e
remove old Subroutine comments
2014-06-01 10:04:56 -06:00
Joshua Warner
ec2e153aa8
fixup comments in Subroutine
2014-05-31 21:28:27 -06:00
Joshua Warner
1d86e668cb
inline Frame::*ed* code
2014-05-30 23:57:07 -06:00
Joshua Warner
955f4918b4
parameterize many Frame:: methods by type
2014-05-30 23:57:02 -06:00
Joshua Warner
7abbace8fb
replace Frame::StackType with ir::Type
2014-05-30 23:40:24 -06:00
Joshua Warner
37d104871c
test line number table generation in subroutines
2014-05-30 23:40:24 -06:00
Joshua Warner
9273d5ca39
remove redundant Compiler::initLocal footprint parameter
2014-05-30 23:40:24 -06:00
Joshua Warner
9a54c50db6
make asserts in loadLocal and storeLocal more strict
2014-05-30 23:40:23 -06:00
Joshua Warner
91c5599fc0
remove redundant Compiler::storeLocal footprint parameter
2014-05-30 23:40:23 -06:00
Joshua Warner
d67820054e
add type asserts in appendCombine and appendTranslate
2014-05-30 23:40:23 -06:00
Joshua Warner
008bb6b86e
remove redundant Compiler::unaryOp type parameter
2014-05-30 23:40:23 -06:00
Joshua Warner
b14709c54c
remove redundant Compiler::condJump type parameter
2014-05-30 23:40:22 -06:00
Joshua Warner
33d946d249
remove redundant Compiler::store srcType parameter
2014-05-30 23:40:22 -06:00