| Index: src/a64/lithium-codegen-a64.h
|
| diff --git a/src/a64/lithium-codegen-a64.h b/src/a64/lithium-codegen-a64.h
|
| index 5dc11c94e9becbd0364a188a54b77dadfb2d1fc5..1c9da104b5cc815a23e77f8230520bcc56447131 100644
|
| --- a/src/a64/lithium-codegen-a64.h
|
| +++ b/src/a64/lithium-codegen-a64.h
|
| @@ -82,7 +82,6 @@ class LCodeGen BASE_EMBEDDED {
|
| Scope* scope() const { return scope_; }
|
| Heap* heap() const { return isolate()->heap(); }
|
|
|
| - // TODO(svenpanne) Use this consistently.
|
| int LookupDestination(int block_id) const {
|
| return chunk()->LookupDestination(block_id);
|
| }
|
| @@ -175,6 +174,7 @@ class LCodeGen BASE_EMBEDDED {
|
| LOperand* temp1,
|
| LOperand* temp2);
|
| void DoDeferredAllocate(LAllocate* instr);
|
| + void DoDeferredAllocateObject(LAllocateObject* instr);
|
|
|
| void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
|
| Label* map_check);
|
| @@ -207,6 +207,11 @@ class LCodeGen BASE_EMBEDDED {
|
| const Register& value,
|
| uint64_t mask);
|
|
|
| + template<class InstrType>
|
| + void EmitBranchIfNonZeroNumber(InstrType instr,
|
| + const FPRegister& value,
|
| + const FPRegister& scratch);
|
| +
|
| // Emits optimized code to deep-copy the contents of statically known object
|
| // graphs (e.g. object literal boilerplate). Expects a pointer to the
|
| // allocated destination object in the result register, and a pointer to the
|
| @@ -221,7 +226,8 @@ class LCodeGen BASE_EMBEDDED {
|
| // Emits optimized code for %_IsString(x). Preserves input register.
|
| // Returns the condition on which a final split to
|
| // true and false label should be made, to optimize fallthrough.
|
| - Condition EmitIsString(Register input, Register temp1, Label* is_not_string);
|
| + Condition EmitIsString(Register input, Register temp1, Label* is_not_string,
|
| + SmiCheck check_needed);
|
|
|
| void EmitLoadFieldOrConstantFunction(Register result,
|
| Register object,
|
|
|