Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/c1_CodeStubs_x86.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 | 07a218de38cb |
comparison
equal
deleted
inserted
replaced
1817:c40600e85311 | 1819:f02a8bbe6ed4 |
---|---|
81 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, | 81 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, |
82 bool throw_index_out_of_bounds_exception) | 82 bool throw_index_out_of_bounds_exception) |
83 : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception) | 83 : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception) |
84 , _index(index) | 84 , _index(index) |
85 { | 85 { |
86 _info = info == NULL ? NULL : new CodeEmitInfo(info); | 86 assert(info != NULL, "must have info"); |
87 _info = new CodeEmitInfo(info); | |
87 } | 88 } |
88 | 89 |
89 | 90 |
90 void RangeCheckStub::emit_code(LIR_Assembler* ce) { | 91 void RangeCheckStub::emit_code(LIR_Assembler* ce) { |
91 __ bind(_entry); | 92 __ bind(_entry); |