Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 7902358a6e1d1f2b52aa50a4295be403c2ea59ba..3ebd627b93d2aca976e81e5630a406df8c02d170 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -3247,25 +3247,6 @@ void FullCodeGenerator::EmitToInteger(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitToName(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(1, args->length()); |
- |
- // Load the argument into x0 and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- Label convert, done_convert; |
- __ JumpIfSmi(x0, &convert); |
- STATIC_ASSERT(FIRST_NAME_TYPE == FIRST_TYPE); |
- __ JumpIfObjectType(x0, x1, x1, LAST_NAME_TYPE, &done_convert, ls); |
- __ Bind(&convert); |
- __ Push(x0); |
- __ CallRuntime(Runtime::kToName); |
- __ Bind(&done_convert); |
- context()->Plug(x0); |
-} |
- |
- |
void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |