v8/test/mjsunit/runtime-gen/regexpinitializeobject.js

10 lines
384 B
JavaScript

// 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 _regexp = /ab/g;
var _source = "foo";
var _global = new Object();
var _ignoreCase = new Object();
var _multiline = new Object();
%RegExpInitializeObject(_regexp, _source, _global, _ignoreCase, _multiline);