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 f50b0d0896e3c66466147d53c1e8ae8f92f98acb..9e76e3599db514129a1fd100b97e4a6de62e98ae 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1325,18 +1325,6 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy, |
} |
-void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
- Comment cmnt(masm_, "[ RegExpLiteral"); |
- __ movp(rdi, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); |
- __ Move(rax, Smi::FromInt(expr->literal_index())); |
- __ Move(rcx, expr->pattern()); |
- __ Move(rdx, Smi::FromInt(expr->flags())); |
- FastCloneRegExpStub stub(isolate()); |
- __ CallStub(&stub); |
- context()->Plug(rax); |
-} |
- |
- |
void FullCodeGenerator::EmitAccessor(ObjectLiteralProperty* property) { |
Expression* expression = (property == NULL) ? NULL : property->value(); |
if (expression == NULL) { |