Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index d886dc138b02b9587757a67ac9d623054938e113..fb412f8bdb9b24447bbf389ec3ffcbd2d6850d8f 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -2992,23 +2992,6 @@ void FullCodeGenerator::EmitTwoByteSeqStringSetChar(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitToInteger(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(1, args->length()); |
- |
- // Load the argument into rax and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- // Convert the object to an integer. |
- Label done_convert; |
- __ JumpIfSmi(rax, &done_convert, Label::kNear); |
- __ Push(rax); |
- __ CallRuntime(Runtime::kToInteger); |
- __ bind(&done_convert); |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |