Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index f66934a8f1af1d48aa0f3561220bfb8cfff31939..c850c6ac4d15a4b5e666b7f04e029128a1ed20a3 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -1917,27 +1917,6 @@ void FullCodeGenerator::EmitIsTypedArray(CallRuntime* expr) { |
context()->Plug(if_true, if_false); |
} |
-void FullCodeGenerator::EmitIsRegExp(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 1); |
- |
- VisitForAccumulatorValue(args->at(0)); |
- |
- Label materialize_true, materialize_false; |
- Label* if_true = NULL; |
- Label* if_false = NULL; |
- Label* fall_through = NULL; |
- context()->PrepareTest(&materialize_true, &materialize_false, &if_true, |
- &if_false, &fall_through); |
- |
- __ JumpIfSmi(r2, if_false); |
- __ CompareObjectType(r2, r3, r3, JS_REGEXP_TYPE); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(eq, if_true, if_false, fall_through); |
- |
- context()->Plug(if_true, if_false); |
-} |
- |
void FullCodeGenerator::EmitIsJSProxy(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |