Index: test/mjsunit/runtime-gen/regexpexecrt.js |
diff --git a/test/mjsunit/runtime-gen/stringmatch.js b/test/mjsunit/runtime-gen/regexpexecrt.js |
similarity index 65% |
copy from test/mjsunit/runtime-gen/stringmatch.js |
copy to test/mjsunit/runtime-gen/regexpexecrt.js |
index 927a6707b35d77a11ac0438a46529d026095e73d..db874039d32cb574e22de46446f6b2c5b019b630 100644 |
--- a/test/mjsunit/runtime-gen/stringmatch.js |
+++ b/test/mjsunit/runtime-gen/regexpexecrt.js |
@@ -1,7 +1,8 @@ |
// Copyright 2014 the V8 project authors. All rights reserved. |
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY |
// Flags: --allow-natives-syntax --harmony |
-var _subject = "foo"; |
var _regexp = /ab/g; |
-var arg2 = ['a', 'b']; |
-%StringMatch(_subject, _regexp, arg2); |
+var _subject = "foo"; |
+var _index = 1; |
+var _last_match_info = new Array(); |
+%RegExpExecRT(_regexp, _subject, _index, _last_match_info); |