Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 720f16aae9ba02aae43320be6ecbd140c4484d48..f7bb23c2d448953f9abbf87d6e9e75daa002f31d 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -561,21 +561,6 @@ void FullCodeGenerator::EmitSubString(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitRegExpExec(CallRuntime* expr) { |
- // Load the arguments on the stack and call the stub. |
- RegExpExecStub stub(isolate()); |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 4); |
- VisitForStackValue(args->at(0)); |
- VisitForStackValue(args->at(1)); |
- VisitForStackValue(args->at(2)); |
- VisitForStackValue(args->at(3)); |
- __ CallStub(&stub); |
- OperandStackDepthDecrement(4); |
- context()->Plug(result_register()); |
-} |
- |
- |
void FullCodeGenerator::EmitIntrinsicAsStubCall(CallRuntime* expr, |
const Callable& callable) { |
ZoneList<Expression*>* args = expr->arguments(); |
@@ -607,10 +592,6 @@ void FullCodeGenerator::EmitIntrinsicAsStubCall(CallRuntime* expr, |
context()->Plug(result_register()); |
} |
-void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) { |
- EmitIntrinsicAsStubCall(expr, CodeFactory::NumberToString(isolate())); |
-} |
- |
void FullCodeGenerator::EmitToString(CallRuntime* expr) { |
EmitIntrinsicAsStubCall(expr, CodeFactory::ToString(isolate())); |