| Index: src/x64/lithium-codegen-x64.h
|
| diff --git a/src/x64/lithium-codegen-x64.h b/src/x64/lithium-codegen-x64.h
|
| index 8bfb1f5ed6f44192bb804dc19b390804bd2b7fa7..941bfe696019f959a49db0ad763bded9c65383cb 100644
|
| --- a/src/x64/lithium-codegen-x64.h
|
| +++ b/src/x64/lithium-codegen-x64.h
|
| @@ -78,7 +78,6 @@ class LCodeGen BASE_EMBEDDED {
|
| Handle<Object> ToHandle(LConstantOperand* op) const;
|
| Operand ToOperand(LOperand* op) const;
|
|
|
| -
|
| // Try to generate code for the entire chunk, but it may fail if the
|
| // chunk contains constructs we cannot handle. Returns true if the
|
| // code generation attempt succeeded.
|
| @@ -94,7 +93,8 @@ class LCodeGen BASE_EMBEDDED {
|
| void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr);
|
| void DoDeferredStackCheck(LGoto* instr);
|
| void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
|
| - void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr);
|
| + void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
|
| + Label* map_check);
|
|
|
| // Parallel move support.
|
| void DoParallelMove(LParallelMove* move);
|
| @@ -211,6 +211,9 @@ class LCodeGen BASE_EMBEDDED {
|
| int arguments,
|
| int deoptimization_index);
|
| 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, LDeferredCode* deferred_stack_check = NULL);
|
| @@ -239,11 +242,11 @@ class LCodeGen BASE_EMBEDDED {
|
| void EmitPushConstantOperand(LOperand* operand);
|
|
|
| struct JumpTableEntry {
|
| - inline JumpTableEntry(Address address)
|
| - : label_(),
|
| - address_(address) { }
|
| - Label label_;
|
| - Address address_;
|
| + inline JumpTableEntry(Address entry)
|
| + : label(),
|
| + address(entry) { }
|
| + Label label;
|
| + Address address;
|
| };
|
|
|
| LChunk* const chunk_;
|
| @@ -254,7 +257,7 @@ class LCodeGen BASE_EMBEDDED {
|
| int current_instruction_;
|
| const ZoneList<LInstruction*>* instructions_;
|
| ZoneList<LEnvironment*> deoptimizations_;
|
| - ZoneList<JumpTableEntry*> jump_table_;
|
| + ZoneList<JumpTableEntry> jump_table_;
|
| ZoneList<Handle<Object> > deoptimization_literals_;
|
| int inlined_function_count_;
|
| Scope* const scope_;
|
|
|