OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY | 2 // AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY |
3 // Flags: --allow-natives-syntax --harmony | 3 // Flags: --allow-natives-syntax --harmony |
| 4 var _regexp = /ab/g; |
4 var _subject = "foo"; | 5 var _subject = "foo"; |
5 var _regexp = /ab/g; | 6 var _index = 1; |
6 var arg2 = ['a', 'b']; | 7 var _last_match_info = new Array(); |
7 %StringMatch(_subject, _regexp, arg2); | 8 %RegExpExecRT(_regexp, _subject, _index, _last_match_info); |
OLD | NEW |