Mercurial > hg > truffle
comparison src/share/vm/shark/sharkCacheDecache.cpp @ 5132:e1a03c81cef0
another fix for non-graal builds
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 21 Mar 2012 13:05:57 +0100 |
parents | 597bc897257d |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
5131:e307e8104e12 | 5132:e1a03c81cef0 |
---|---|
38 // Start recording the debug information | 38 // Start recording the debug information |
39 _pc_offset = code_buffer()->create_unique_offset(); | 39 _pc_offset = code_buffer()->create_unique_offset(); |
40 _oopmap = new OopMap( | 40 _oopmap = new OopMap( |
41 oopmap_slot_munge(stack()->oopmap_frame_size()), | 41 oopmap_slot_munge(stack()->oopmap_frame_size()), |
42 oopmap_slot_munge(arg_size())); | 42 oopmap_slot_munge(arg_size())); |
43 debug_info()->add_safepoint(pc_offset(), oopmap()); | 43 debug_info()->add_safepoint(pc_offset(), -1, oopmap()); |
44 } | 44 } |
45 | 45 |
46 void SharkDecacher::start_stack(int stack_depth) { | 46 void SharkDecacher::start_stack(int stack_depth) { |
47 // Create the array we'll record our stack slots in | 47 // Create the array we'll record our stack slots in |
48 _exparray = new GrowableArray<ScopeValue*>(stack_depth); | 48 _exparray = new GrowableArray<ScopeValue*>(stack_depth); |