| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index a06c3bb92e18bb9b18862e82e3c35f1479e8580e..d866059304c7b628cfed46384e3cf8c627d0d18b 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -1588,26 +1588,6 @@ void LCodeGen::DoElementsKind(LElementsKind* instr) {
|
| }
|
|
|
|
|
| -void LCodeGen::DoValueOf(LValueOf* instr) {
|
| - Register input = ToRegister(instr->value());
|
| - Register result = ToRegister(instr->result());
|
| - ASSERT(input.is(result));
|
| - Label done;
|
| -
|
| - if (!instr->hydrogen()->value()->IsHeapObject()) {
|
| - // If the object is a smi return the object.
|
| - __ JumpIfSmi(input, &done, Label::kNear);
|
| - }
|
| -
|
| - // If the object is not a value type, return the object.
|
| - __ CmpObjectType(input, JS_VALUE_TYPE, kScratchRegister);
|
| - __ j(not_equal, &done, Label::kNear);
|
| - __ movp(result, FieldOperand(input, JSValue::kValueOffset));
|
| -
|
| - __ bind(&done);
|
| -}
|
| -
|
| -
|
| void LCodeGen::DoDateField(LDateField* instr) {
|
| Register object = ToRegister(instr->date());
|
| Register result = ToRegister(instr->result());
|
|
|