Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp @ 1819:f02a8bbe6ed4
6986046: C1 valuestack cleanup
Summary: fixes an historical oddity in C1 with inlining where all of the expression stacks are kept in the topmost ValueStack instead of being in their respective ValueStacks.
Reviewed-by: never
Contributed-by: Christian Wimmer <cwimmer@uci.edu>
author | roland |
---|---|
date | Tue, 29 Dec 2009 19:08:54 +0100 |
parents | d5d065957597 |
children | c393f046f4c5 |
comparison
equal
deleted
inserted
replaced
1817:c40600e85311 | 1819:f02a8bbe6ed4 |
---|---|
30 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, | 30 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, |
31 bool throw_index_out_of_bounds_exception) | 31 bool throw_index_out_of_bounds_exception) |
32 : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception) | 32 : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception) |
33 , _index(index) | 33 , _index(index) |
34 { | 34 { |
35 assert(info != NULL, "must have info"); | |
35 _info = new CodeEmitInfo(info); | 36 _info = new CodeEmitInfo(info); |
36 } | 37 } |
37 | 38 |
38 | 39 |
39 void RangeCheckStub::emit_code(LIR_Assembler* ce) { | 40 void RangeCheckStub::emit_code(LIR_Assembler* ce) { |