| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index f03946d5703f636c907dc5887b2cdf2a9dfa4813..8a284dbad05d81b0a3c40c469ecce7e3e465ddcf 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -3273,34 +3273,6 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::EmitSetValueOf(CallRuntime* expr) {
|
| - ZoneList<Expression*>* args = expr->arguments();
|
| - DCHECK(args->length() == 2);
|
| - VisitForStackValue(args->at(0)); // Load the object.
|
| - VisitForAccumulatorValue(args->at(1)); // Load the value.
|
| - __ pop(r1); // r0 = value. r1 = object.
|
| -
|
| - Label done;
|
| - // If the object is a smi, return the value.
|
| - __ JumpIfSmi(r1, &done);
|
| -
|
| - // If the object is not a value type, return the value.
|
| - __ CompareObjectType(r1, r2, r2, JS_VALUE_TYPE);
|
| - __ b(ne, &done);
|
| -
|
| - // Store the value.
|
| - __ str(r0, FieldMemOperand(r1, JSValue::kValueOffset));
|
| - // Update the write barrier. Save the value as it will be
|
| - // overwritten by the write barrier code and is needed afterward.
|
| - __ mov(r2, r0);
|
| - __ RecordWriteField(
|
| - r1, JSValue::kValueOffset, r2, r3, kLRHasBeenSaved, kDontSaveFPRegs);
|
| -
|
| - __ bind(&done);
|
| - context()->Plug(r0);
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::EmitToInteger(CallRuntime* expr) {
|
| ZoneList<Expression*>* args = expr->arguments();
|
| DCHECK_EQ(1, args->length());
|
|
|