Commit Graph

3330 Commits

Author SHA1 Message Date
94ddb62b5f move FrameSiteEvent out of compiler.cpp 2013-02-13 22:13:56 -07:00
be86d26512 move BoundsCheckEvent out of compiler.cpp 2013-02-13 22:13:56 -07:00
d00950458f move JumpEvent out of compiler.cpp 2013-02-13 22:13:56 -07:00
65b7cf047c move BranchEvent out of compiler.cpp 2013-02-13 22:13:56 -07:00
18e6f28ff4 move MemoryEvent out of compiler.cpp 2013-02-13 22:13:55 -07:00
9c102bc1a8 move OperationEvent out of compiler.cpp 2013-02-13 22:13:55 -07:00
70f9209a6e move TranslateEvent out of compiler.cpp 2013-02-13 22:13:55 -07:00
8a61b38a01 move CombineEvent out of compiler.cpp 2013-02-13 22:13:55 -07:00
5ad0eb86d3 move MoveEvent out of compiler.cpp 2013-02-13 22:13:55 -07:00
165c77d772 move ReturnEvent out of compiler.cpp 2013-02-13 22:13:55 -07:00
0f6e098b69 move CallEvent out of compiler.cpp 2013-02-13 22:13:55 -07:00
6d265374ec move Reads out of compile.cpp 2013-02-13 22:13:55 -07:00
b0abc4e1e5 further split up compiler.cpp 2013-02-13 22:13:55 -07:00
952cad2360 move site out of compiler.cpp 2013-02-13 22:13:55 -07:00
740886d58e begin splitting up compiler.cpp 2013-02-13 22:13:55 -07:00
ef5e534e1e begin moving register allocator out of compiler.cpp 2013-02-13 22:13:55 -07:00
34471e5d60 factor out assert / abort / expect implementations 2013-02-13 22:13:52 -07:00
fd47c6f406 switch clean target back to deleting all generated files 2013-02-13 09:09:30 -07:00
144fdb8f49 include util/runtime-array.h in windows.cpp to fix build 2013-02-13 09:04:04 -07:00
6d39de064c update bootimage.cpp and heapwalk.cpp to reflect function renames 2013-02-13 08:48:32 -07:00
d7f088c9e7 adjust package structure in codegen (vm -> avian::codegen and avian::codegen::lir)
The eventual intent with the lir namespace is to formalize some of
the important bits of Assembler interface, to be tested, debug-printed,
and potentially, serialized.

Also, group arguments to apply(...) in OperandInfos
2013-02-12 17:47:57 -07:00
aacfb9ec85 fix unused function warnings in codegen/powerpc/assembler.cpp when building with clang 2013-02-12 17:45:19 -07:00
3589d5c205 Merge branch 'master' of git://github.com/ReadyTalk/avian
Conflicts:
	src/codegen/arm/assembler.cpp
	src/common.h
	src/machine.cpp
2013-02-12 17:37:19 -07:00
f7b49ddb06 allow codegen targets (Architectures and Assemblers) to co-exist
The primary motivation behind this is to allow all the different Assemblers
to be built at once, on a single machine. This should dramatically reduce
the time required to make sure that a particular change doesn't break
the build for one of the not-so-common architectures (arm, powerpc)

Simply pass "codegen-targets=all" to make to compile all
src/codegen/<arch>/assembler.cpp.

Note that while these architectures are built, they will not be fully-
functional.  Certain stuff is assumed to be the same across the entire
build (such as TargetBytesPerWord), but this isn't the case anymore.
2013-02-12 17:16:40 -07:00
3812d012a3 update documentation to indicate that LD_LIBRARY_PATH is not (always) needed 2013-02-12 11:05:34 -07:00
86c92e26cb Merge commit '752d02e7786b807185e3f4cd254ee988c01f830f' into HEAD
Conflicts:
	classpath/java-io.cpp
	makefile
	src/bootimage.cpp
	src/interpret.cpp
	src/machine.cpp
	src/windows.cpp
2013-02-12 10:47:28 -07:00
937343d0d3 don't specify -Wl,-rpath argument on Darwin or Windows (take 2) 2013-02-12 09:27:47 -07:00
8a7b6488d4 Merge remote branch 'osmandapp/upstream' 2013-02-12 09:26:01 -07:00
752d02e778 make bootimage-object depend on openjdk-jar-dep
This ensures that the OpenJDK classes have been extracted prior to
bootimage creation.
2013-02-12 09:23:43 -07:00
d1a7b66085 don't specify -Wl,-rpath argument on Darwin or Windows
It remains to be seen what form that argument should take on those
operating systems; for now, it only causes trouble, so we'll just
leave it out.
2013-02-12 08:22:21 -07:00
dc943c250a delay incrementing Thread::criticalLevel until after entering ActiveState
If we increment the value while we're still in IdleState, another
thread may try to GC before we are able to enter ActiveState, which
will lead to an assertion failure when the footprint function is
called.
2013-02-12 08:15:39 -07:00
68776e5d73 move all codegen source in to codegen/ dir 2013-02-10 18:55:38 -07:00
964d054117 move RUNTIME_ARRAY into it's own header 2013-02-10 18:07:11 -07:00
5dd770d7ea rename cast -> fieldAtOffset 2013-02-10 18:07:03 -07:00
2a1834e48a rename mask -> maskAlignedPointer 2013-02-10 18:06:48 -07:00
d26d8fdb9f rename ceiling -> ceilingDivide 2013-02-10 18:06:15 -07:00
9c632b778b Proper warning disabling 2013-02-10 09:41:46 +02:00
5d35d64c80 Disable operator new warning 2013-02-10 09:31:41 +02:00
dd14b10d8d Lost assignment 2013-02-09 13:18:39 +02:00
837e2847ec WP8 target refine 2013-02-09 13:09:58 +02:00
0a1743ebf2 Fix for windows ::open 2013-02-09 09:42:52 +02:00
d5d2e50ac7 Trace writeout refactor 2013-02-09 09:42:51 +02:00
83e55ce9cc RUNTIME_ARRAY usage 2013-02-09 09:42:50 +02:00
e4bd01f7f3 Comment out printTrace 2013-02-09 09:42:49 +02:00
197d4f7f89 Make clean target more robust
Conflicts:

	.gitignore
2013-02-09 09:42:48 +02:00
f3c443dbfa Fix dword<>qword mistake 2013-02-09 09:42:47 +02:00
24e1e1a745 Remove empty lines
Conflicts:

	classpath/java-lang.cpp
2013-02-09 09:42:46 +02:00
b918389672 Support built-in jars when wusing multi-library 2013-02-09 09:42:45 +02:00
e7ad04fc7a Culture fixes ; Path extensions 2013-02-09 09:42:45 +02:00
d6a5544f2b getErrorStr() for Windows platforms 2013-02-09 09:42:44 +02:00