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 d75cc0ff2d80dfb48c38d151bb93e8cd810954bb..060cf0502e58d148326f5a95091b2214471b5fc6 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -3678,58 +3678,6 @@ void FullCodeGenerator::EmitToInteger(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(args->length(), 1); |
- |
- // Load the argument into rax and call the stub. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- NumberToStringStub stub(isolate()); |
- __ CallStub(&stub); |
- context()->Plug(rax); |
-} |
- |
- |
-void FullCodeGenerator::EmitToString(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(1, args->length()); |
- |
- // Load the argument into rax and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- ToStringStub stub(isolate()); |
- __ CallStub(&stub); |
- context()->Plug(rax); |
-} |
- |
- |
-void FullCodeGenerator::EmitToLength(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(1, args->length()); |
- |
- // Load the argument into rax and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- ToLengthStub stub(isolate()); |
- __ CallStub(&stub); |
- context()->Plug(rax); |
-} |
- |
- |
-void FullCodeGenerator::EmitToNumber(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(1, args->length()); |
- |
- // Load the argument into rax and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- ToNumberStub stub(isolate()); |
- __ CallStub(&stub); |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::EmitToName(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK_EQ(1, args->length()); |
@@ -3751,19 +3699,6 @@ void FullCodeGenerator::EmitToName(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitToObject(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(1, args->length()); |
- |
- // Load the argument into rax and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- ToObjectStub stub(isolate()); |
- __ CallStub(&stub); |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |
@@ -3989,20 +3924,6 @@ void FullCodeGenerator::EmitDefaultConstructorCallSuper(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { |
- RegExpConstructResultStub stub(isolate()); |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 3); |
- VisitForStackValue(args->at(0)); |
- VisitForStackValue(args->at(1)); |
- VisitForAccumulatorValue(args->at(2)); |
- __ Pop(rbx); |
- __ Pop(rcx); |
- __ CallStub(&stub); |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::EmitHasCachedArrayIndex(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |