Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index c1d5560745b1abc04d2d4924ebbcedce7209ce13..7148d47e1cdf565b5e9a734ed3ddad2b0d7afdfb 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3003,23 +3003,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 eax and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- // Convert the object to an integer. |
- Label done_convert; |
- __ JumpIfSmi(eax, &done_convert, Label::kNear); |
- __ Push(eax); |
- __ CallRuntime(Runtime::kToInteger); |
- __ bind(&done_convert); |
- context()->Plug(eax); |
-} |
- |
- |
void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |