Mercurial > hg > truffle
diff src/share/vm/code/codeBlob.hpp @ 7125:1baf7f1e3f23
decoupled C++ Graal runtime from C1
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 03 Dec 2012 15:32:17 +0100 |
parents | e522a00b91aa |
children | b9a918201d47 |
line wrap: on
line diff
--- a/src/share/vm/code/codeBlob.hpp Mon Dec 03 13:56:13 2012 +0100 +++ b/src/share/vm/code/codeBlob.hpp Mon Dec 03 15:32:17 2012 +0100 @@ -105,6 +105,7 @@ virtual bool is_compiled_by_c2() const { return false; } virtual bool is_compiled_by_c1() const { return false; } + virtual bool is_compiled_by_graal() const { return false; } // Casting nmethod* as_nmethod_or_null() { return is_nmethod() ? (nmethod*) this : NULL; } @@ -357,7 +358,7 @@ int _unpack_with_exception_in_tls; - // (thomaswue) Offset when graal calls uncommon_trap. + // (thomaswue) Offset when Graal calls uncommon_trap. int _uncommon_trap_offset; int _implicit_exception_uncommon_trap_offset; @@ -415,7 +416,7 @@ } address unpack_with_exception_in_tls() const { return code_begin() + _unpack_with_exception_in_tls; } - // (thomaswue) Offset when graal calls uncommon_trap. + // (thomaswue) Offset when Graal calls uncommon_trap. void set_uncommon_trap_offset(int offset) { _uncommon_trap_offset = offset; assert(contains(code_begin() + _uncommon_trap_offset), "must be PC inside codeblob");