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