Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1/c1_IR.cpp @ 1295:3cf667df43ef
6919934: JSR 292 needs to support x86 C1
Summary: This implements JSR 292 support for C1 x86.
Reviewed-by: never, jrose, kvn
author | twisti |
---|---|
date | Tue, 09 Mar 2010 20:16:19 +0100 |
parents | 89e0543e1737 |
children | c18cbe5936b8 61b2245abf36 |
comparison
equal
deleted
inserted
replaced
1293:51db1e4b379d | 1295:3cf667df43ef |
---|---|
1 /* | 1 /* |
2 * Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1999-2010 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
257 _exception_handlers = new XHandlers(info->_exception_handlers); | 257 _exception_handlers = new XHandlers(info->_exception_handlers); |
258 } | 258 } |
259 } | 259 } |
260 | 260 |
261 | 261 |
262 void CodeEmitInfo::record_debug_info(DebugInformationRecorder* recorder, int pc_offset) { | 262 void CodeEmitInfo::record_debug_info(DebugInformationRecorder* recorder, int pc_offset, bool is_method_handle_invoke) { |
263 // record the safepoint before recording the debug info for enclosing scopes | 263 // record the safepoint before recording the debug info for enclosing scopes |
264 recorder->add_safepoint(pc_offset, _oop_map->deep_copy()); | 264 recorder->add_safepoint(pc_offset, _oop_map->deep_copy()); |
265 _scope_debug_info->record_debug_info(recorder, pc_offset, true/*topmost*/); | 265 _scope_debug_info->record_debug_info(recorder, pc_offset, true/*topmost*/, is_method_handle_invoke); |
266 recorder->end_safepoint(pc_offset); | 266 recorder->end_safepoint(pc_offset); |
267 } | 267 } |
268 | 268 |
269 | 269 |
270 void CodeEmitInfo::add_register_oop(LIR_Opr opr) { | 270 void CodeEmitInfo::add_register_oop(LIR_Opr opr) { |