Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index bcb351c6385d06d2ca7b4e6efc64ca0d1bbdbebe..28ca344a45028bc7eb6fb9706455054c8182be81 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -1983,28 +1983,6 @@ void LCodeGen::DoElementsKind(LElementsKind* instr) { |
} |
-void LCodeGen::DoValueOf(LValueOf* instr) { |
- Register input = ToRegister(instr->value()); |
- Register result = ToRegister(instr->result()); |
- Register map = ToRegister(instr->temp()); |
- 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, map); |
- __ j(not_equal, &done, Label::kNear); |
- __ mov(result, FieldOperand(input, JSValue::kValueOffset)); |
- |
- __ bind(&done); |
-} |
- |
- |
void LCodeGen::DoDateField(LDateField* instr) { |
Register object = ToRegister(instr->date()); |
Register result = ToRegister(instr->result()); |