| Index: src/mips/lithium-codegen-mips.h
|
| diff --git a/src/mips/lithium-codegen-mips.h b/src/mips/lithium-codegen-mips.h
|
| index 1c99cf99f1b685ae6d191c244bce18c46da9287f..3d31ef10baf64ab9aed3170e40e5e4508e2c09dc 100644
|
| --- a/src/mips/lithium-codegen-mips.h
|
| +++ b/src/mips/lithium-codegen-mips.h
|
| @@ -78,7 +78,6 @@ class LCodeGen BASE_EMBEDDED {
|
| Heap* heap() const { return isolate()->heap(); }
|
| Zone* zone() const { return zone_; }
|
|
|
| - // TODO(svenpanne) Use this consistently.
|
| int LookupDestination(int block_id) const {
|
| return chunk()->LookupDestination(block_id);
|
| }
|
| @@ -149,6 +148,7 @@ class LCodeGen BASE_EMBEDDED {
|
| void DoDeferredRandom(LRandom* instr);
|
| void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
|
| void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
|
| + void DoDeferredAllocateObject(LAllocateObject* instr);
|
| void DoDeferredAllocate(LAllocate* instr);
|
| void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
|
| Label* map_check);
|
| @@ -321,13 +321,13 @@ class LCodeGen BASE_EMBEDDED {
|
|
|
| static Condition TokenToCondition(Token::Value op, bool is_unsigned);
|
| void EmitGoto(int block);
|
| - void EmitBranch(int left_block,
|
| - int right_block,
|
| + template<class InstrType>
|
| + void EmitBranch(InstrType instr,
|
| Condition cc,
|
| Register src1,
|
| const Operand& src2);
|
| - void EmitBranchF(int left_block,
|
| - int right_block,
|
| + template<class InstrType>
|
| + void EmitBranchF(InstrType instr,
|
| Condition cc,
|
| FPURegister src1,
|
| FPURegister src2);
|
| @@ -365,7 +365,8 @@ class LCodeGen BASE_EMBEDDED {
|
| // true and false label should be made, to optimize fallthrough.
|
| Condition EmitIsString(Register input,
|
| Register temp1,
|
| - Label* is_not_string);
|
| + Label* is_not_string,
|
| + SmiCheck check_needed);
|
|
|
| // Emits optimized code for %_IsConstructCall().
|
| // Caller should branch on equal condition.
|
|
|