aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/c1/c1_IR.hpp
diff options
context:
space:
mode:
authortwisti <none@none>2010-05-21 02:59:24 -0700
committertwisti <none@none>2010-05-21 02:59:24 -0700
commit67aa0ac195b4e42b7f7581d99e3310ab41193290 (patch)
treecd4fd9265df0c5b33cf1e5de5e2fa9ac1de9c4ff /src/share/vm/c1/c1_IR.hpp
parent8e05420239205ef3b77908e6c54757a69557af89 (diff)
6930772: JSR 292 needs to support SPARC C1
Summary: C1 for SPARC needs to support JSR 292. Reviewed-by: never, jrose
Diffstat (limited to 'src/share/vm/c1/c1_IR.hpp')
-rw-r--r--src/share/vm/c1/c1_IR.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/share/vm/c1/c1_IR.hpp b/src/share/vm/c1/c1_IR.hpp
index 0af76f349..bf8709b82 100644
--- a/src/share/vm/c1/c1_IR.hpp
+++ b/src/share/vm/c1/c1_IR.hpp
@@ -269,6 +269,7 @@ class CodeEmitInfo: public CompilationResourceObj {
int _bci;
CodeEmitInfo* _next;
int _id;
+ bool _is_method_handle_invoke; // true if the associated call site is a MethodHandle call site.
FrameMap* frame_map() const { return scope()->compilation()->frame_map(); }
Compilation* compilation() const { return scope()->compilation(); }
@@ -287,7 +288,8 @@ class CodeEmitInfo: public CompilationResourceObj {
, _stack(NULL)
, _exception_handlers(NULL)
, _next(NULL)
- , _id(-1) {
+ , _id(-1)
+ , _is_method_handle_invoke(false) {
}
// make a copy
@@ -302,13 +304,16 @@ class CodeEmitInfo: public CompilationResourceObj {
int bci() const { return _bci; }
void add_register_oop(LIR_Opr opr);
- void record_debug_info(DebugInformationRecorder* recorder, int pc_offset, bool is_method_handle_invoke = false);
+ void record_debug_info(DebugInformationRecorder* recorder, int pc_offset);
CodeEmitInfo* next() const { return _next; }
void set_next(CodeEmitInfo* next) { _next = next; }
int id() const { return _id; }
void set_id(int id) { _id = id; }
+
+ bool is_method_handle_invoke() const { return _is_method_handle_invoke; }
+ void set_is_method_handle_invoke(bool x) { _is_method_handle_invoke = x; }
};