Chromium Code Reviews| Index: src/ia32/lithium-codegen-ia32.h |
| =================================================================== |
| --- src/ia32/lithium-codegen-ia32.h (revision 9915) |
| +++ src/ia32/lithium-codegen-ia32.h (working copy) |
| @@ -101,8 +101,8 @@ |
| void DoDeferredStackCheck(LStackCheck* instr); |
| void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
| - void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| - Label* map_check); |
| + void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| + Label* map_check); |
| // Parallel move support. |
| void DoParallelMove(LParallelMove* move); |
| @@ -144,7 +144,6 @@ |
| HGraph* graph() const { return chunk_->graph(); } |
| int GetNextEmittedBlock(int block); |
| - LInstruction* GetNextInstruction(); |
| void EmitClassOfTest(Label* if_true, |
| Label* if_false, |
| @@ -210,10 +209,11 @@ |
| void LoadHeapObject(Register result, Handle<HeapObject> object); |
| - void RegisterLazyDeoptimization(LInstruction* instr, |
| - SafepointMode safepoint_mode); |
| + void RecordSafepointWithLazyDeopt(LInstruction* instr, |
| + SafepointMode safepoint_mode); |
| - void RegisterEnvironmentForDeoptimization(LEnvironment* environment); |
| + void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
|
Vyacheslav Egorov (Chromium)
2011/11/10 15:50:54
maybe use Safepoint::DeoptMode instead of boolean?
fschneider
2011/11/11 14:09:08
Done.
|
| + bool is_lazy); |
| void DeoptimizeIf(Condition cc, LEnvironment* environment); |
| void AddToTranslation(Translation* translation, |
| @@ -248,16 +248,13 @@ |
| void RecordSafepoint(LPointerMap* pointers, |
| Safepoint::Kind kind, |
| int arguments, |
| - int deoptimization_index); |
| - void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
| - void RecordSafepoint(int deoptimization_index); |
| + Safepoint::DeoptMode mode); |
| + void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); |
| + void RecordSafepoint(Safepoint::DeoptMode mode); |
| void RecordSafepointWithRegisters(LPointerMap* pointers, |
| int arguments, |
| - int deoptimization_index); |
| + Safepoint::DeoptMode mode); |
| void RecordPosition(int position); |
| - int LastSafepointEnd() { |
| - return static_cast<int>(safepoints_.GetPcAfterGap()); |
| - } |
| static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
| void EmitGoto(int block); |