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 175f8b2e7a0693d0a572a8835bf12c09560ea957..e32f41507c5cb97553c8998e8e4f2b76b858fe55 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3121,23 +3121,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 r0 and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- // Convert the object to an integer. |
- Label done_convert; |
- __ JumpIfSmi(r0, &done_convert); |
- __ Push(r0); |
- __ CallRuntime(Runtime::kToInteger); |
- __ bind(&done_convert); |
- context()->Plug(r0); |
-} |
- |
- |
void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |