Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalRuntime.cpp @ 7735:a7a93887b4c4
fix Solaris build and initial SPARC support
author | twisti |
---|---|
date | Wed, 06 Feb 2013 18:01:07 -0800 |
parents | 707e9cca11de |
children | 983f7bdb85ff 92d21814cf7b |
comparison
equal
deleted
inserted
replaced
7734:a0cfabe195c6 | 7735:a7a93887b4c4 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 | 23 |
24 #include "precompiled.hpp" | 24 #include "precompiled.hpp" |
25 #include "runtime/interfaceSupport.hpp" | 25 #include "asm/codeBuffer.hpp" |
26 #include "prims/jvm.h" | |
27 #include "graal/graalRuntime.hpp" | 26 #include "graal/graalRuntime.hpp" |
28 #include "graal/graalVMToCompiler.hpp" | 27 #include "graal/graalVMToCompiler.hpp" |
29 #include "asm/codeBuffer.hpp" | 28 #include "memory/oopFactory.hpp" |
29 #include "prims/jvm.h" | |
30 #include "runtime/biasedLocking.hpp" | 30 #include "runtime/biasedLocking.hpp" |
31 #include "runtime/interfaceSupport.hpp" | |
31 | 32 |
32 // Implementation of GraalStubAssembler | 33 // Implementation of GraalStubAssembler |
33 | 34 |
34 GraalStubAssembler::GraalStubAssembler(CodeBuffer* code, const char * name, int stub_id) : MacroAssembler(code) { | 35 GraalStubAssembler::GraalStubAssembler(CodeBuffer* code, const char * name, int stub_id) : MacroAssembler(code) { |
35 _name = name; | 36 _name = name; |
126 // Make sure that stubs that need oopmaps have them | 127 // Make sure that stubs that need oopmaps have them |
127 switch (id) { | 128 switch (id) { |
128 // These stubs don't need to have an oopmap | 129 // These stubs don't need to have an oopmap |
129 case graal_slow_subtype_check_id: | 130 case graal_slow_subtype_check_id: |
130 #if defined(SPARC) || defined(PPC) | 131 #if defined(SPARC) || defined(PPC) |
131 case handle_exception_nofpu_id: // Unused on sparc | 132 case graal_handle_exception_nofpu_id: // Unused on sparc |
132 #endif | 133 #endif |
133 case graal_verify_oop_id: | 134 case graal_verify_oop_id: |
134 case graal_unwind_exception_call_id: | 135 case graal_unwind_exception_call_id: |
135 case graal_OSR_migration_end_id: | 136 case graal_OSR_migration_end_id: |
136 case graal_arithmetic_frem_id: | 137 case graal_arithmetic_frem_id: |