Commit 5427ea52 authored by rossberg@chromium.org's avatar rossberg@chromium.org

Remove proxies from --harmony switch for M38, because problems

They can still be activated separately using the --harmony-proxies switch,
but are no longer implied by Chrome's "Experimental JavaScript" option.

R=yangguo@chromium.org
BUG=
LOG=Y

Review URL: https://codereview.chromium.org/453903002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22990 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ef6e0fa1
......@@ -161,11 +161,12 @@ DEFINE_BOOL(harmony_strings, false, "enable harmony string")
DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays")
DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions")
DEFINE_BOOL(harmony_unscopables, false, "enable harmony unscopables")
DEFINE_BOOL(harmony, false, "enable all harmony features")
DEFINE_BOOL(harmony, false, "enable all harmony features (except proxies)")
DEFINE_IMPLICATION(harmony, harmony_scoping)
DEFINE_IMPLICATION(harmony, harmony_modules)
DEFINE_IMPLICATION(harmony, harmony_proxies)
// TODO(rossberg): Reenable when problems are sorted out.
// DEFINE_IMPLICATION(harmony, harmony_proxies)
DEFINE_IMPLICATION(harmony, harmony_generators)
DEFINE_IMPLICATION(harmony, harmony_numeric_literals)
DEFINE_IMPLICATION(harmony, harmony_strings)
......
......@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --harmony
// Flags: --harmony --harmony-proxies
// A simple no-op handler. Adapted from:
......
......@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Flags: --harmony
// Flags: --harmony-proxies
function testStringify(expected, object) {
// Test fast case that bails out to slow case.
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = function() {};
var _receiver = new Object();
var _arguments = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new ArrayBuffer(8);
%ArrayBufferGetByteLength(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new ArrayBuffer(8);
var _byteLength = 1.5;
%ArrayBufferInitialize(_holder, _byteLength);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%ArrayBufferIsView(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _array_buffer = new ArrayBuffer(8);
%ArrayBufferNeuter(_array_buffer);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _source = new ArrayBuffer(8);
var _target = new ArrayBuffer(8);
var arg2 = 0;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Int32Array(2);
%ArrayBufferViewGetByteLength(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Int32Array(2);
%ArrayBufferViewGetByteOffset(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = [1, 'a'];
%ArrayConcat(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _service = "foo";
%AvailableLocalesOf(_service);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%BasicJSONStringify(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _value_raw = new Object();
var _token_raw = 1;
%Booleanize(_value_raw, _token_raw);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _callable = new Object();
%BoundFunctionGetBindings(_callable);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%Break();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator());
var _text = "foo";
%BreakIteratorAdoptText(arg0, _text);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator());
%BreakIteratorBreakType(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator());
%BreakIteratorCurrent(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator());
%BreakIteratorFirst(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator());
%BreakIteratorNext(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _locale_id_str = "foo";
%CanonicalizeLanguageTag(_locale_id_str);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _type_arg = 32;
var _enable = true;
%ChangeBreakOnException(_type_arg, _enable);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _code = 32;
%CharFromCode(_code);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
try {
%CheckExecutionState(_break_id);
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
try {
%CheckIsBootstrapping();
} catch(e) {}
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_point_object_arg = new Object();
%ClearBreakPoint(_break_point_object_arg);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function = function() {};
%ClearFunctionTypeFeedback(_function);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%ClearStepping();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _error_object = new Object();
var _caller = new Object();
%CollectStackTrace(_error_object, _caller);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _source = "foo";
var arg1 = false;
%CompileString(_source, arg1);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _hi = 32;
var _lo = 32;
%ConstructDouble(_hi, _lo);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = 'en-US';
var arg1 = {type: 'string'};
var _resolved = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _locale = "foo";
var _options = new Object();
var _resolved = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _name = "foo";
%CreateGlobalPrivateSymbol(_name);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _handler = new Object();
var arg1 = function() {};
var _construct_trap = function() {};
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _handler = new Object();
var _prototype = new Object();
%CreateJSProxy(_handler, _prototype);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = "foo";
%CreatePrivateSymbol(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = "foo";
%CreateSymbol(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
%DataViewGetBuffer(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _is_little_endian = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _buffer = new ArrayBuffer(8);
var _byte_offset = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new DataView(new ArrayBuffer(24));
var _offset = 1.5;
var _value = 1.5;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%DateCacheVersion();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%DateCurrentTime();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%DateLocalTimezone(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _year = 1;
var _month = 1;
%DateMakeDay(_year, _month);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _str = "foo";
var arg1 = new Array(8);
%DateParseString(_str, arg1);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _date = new Date();
var _time = 1.5;
var _is_utc = 1;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%DateToUTC(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _data = new Object();
%DebugAsyncTaskEvent(_data);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%DebugBreak();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _callback = new Object();
%DebugCallbackSupportsStepping(_callback);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _constructor = function() {};
var _max_references = 32;
%DebugConstructedBy(_constructor, _max_references);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _func = function() {};
%DebugDisassembleConstructor(_func);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _func = function() {};
%DebugDisassembleFunction(_func);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _wrapped_id = 1;
var _inlined_jsframe_index = 32;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _source = "foo";
var _disable_break = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _name = "name";
%DebugGetProperty(_obj, _name);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _name = "name";
%DebugGetPropertyDetails(_obj, _name);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%DebugGetPrototype(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _index = 32;
try {
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _name = "name";
try {
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%DebugPopPromise();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _callback = function() {};
%DebugPrepareStepInIfStepping(_callback);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%DebugPrintScopes();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _data = new Object();
%DebugPromiseEvent(_data);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _promise = new Object();
var _value = new Object();
%DebugPromiseRejectEvent(_promise, _value);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _details = 513;
%DebugPropertyAttributesFromDetails(_details);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _details = 513;
%DebugPropertyIndexFromDetails(_details);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _details = 513;
%DebugPropertyTypeFromDetails(_details);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _promise = new Object();
%DebugPushPromise(_promise);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _target = new Object();
var _instance_filter = new Object();
var _max_references = 32;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%DebugTrace();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _name = "name";
var arg2 = function() {};
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _name = "name";
var arg2 = undefined;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _js_object = new Object();
var _name = "name";
var _obj_value = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _key = "name";
var _strict_mode = 1;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function = function() {};
%DeoptimizeFunction(_function);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%DoubleHi(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%DoubleLo(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _microtask = function() {};
%EnqueueMicrotask(_microtask);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _array = new Array();
%EstimateNumberOfElements(_array);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function = function() {};
var _without_debugger = true;
%ExecuteInDebugContext(_function, _without_debugger);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _prototype = new Array();
%FinishArrayPrototypeSetup(_prototype);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _proxy = Proxy.create({});
%Fix(_proxy);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _str = "foo";
%FlattenString(_str);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _bound_function = function() {};
var _bindee = new Object();
var arg2 = undefined;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionGetInferredName(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionGetName(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
%FunctionGetScript(_fun);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
%FunctionGetScriptSourcePosition(_fun);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionGetSourceCode(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionIsAPIFunction(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = () => null;
%FunctionIsArrow(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionIsBuiltin(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionIsGenerator(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionMarkNameShouldPrintAsAnonymous(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionNameShouldPrintAsAnonymous(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
%FunctionRemovePrototype(_f);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
var _name = "foo";
%FunctionSetInstanceClassName(_fun, _name);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
var _length = 1;
%FunctionSetLength(_fun, _length);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _f = function() {};
var _name = "foo";
%FunctionSetName(_f, _name);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
var _value = new Object();
%FunctionSetPrototype(_fun, _value);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _wrapped_id = 1;
var _inlined_jsframe_index = 32;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _raw_key = new Object();
%GetArgumentsProperty(_raw_key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _array = new Object();
var _length = 32;
%GetArrayKeys(_array, _length);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
var arg1 = 0;
%GetBreakLocations(_fun, arg1);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _proxy = Proxy.createFunction({}, function() {});
%GetCallTrap(_proxy);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%GetConstructorDelegate(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _proxy = Proxy.createFunction({}, function() {});
%GetConstructTrap(_proxy);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _key = "name";
%GetDataProperty(_object, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%GetDefaultICULocale();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = function() {};
%GetDefaultReceiver(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
try {
%GetFrameCount(_break_id);
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _index = 32;
try {
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function = function() {};
var _source_position = 32;
%GetFunctionCodePositionFromSource(_function, _source_position);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%GetFunctionDelegate(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
%GetFunctionScopeCount(_fun);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
var _index = 32;
%GetFunctionScopeDetails(_fun, _index);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _proxy = Proxy.create({});
%GetHandler(_proxy);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%GetHeapUsage();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = new Intl.NumberFormat('en-US');
%GetImplFromInitializedIntlObject(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%GetIndexedInterceptorElementNames(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%GetInterceptorInfo(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _input = new Array();
%GetLanguageTagVariants(_input);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%GetNamedInterceptorPropertyNames(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object_info = new Object();
%GetObjectContextNotifierPerformChange(_object_info);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%GetObjectContextObjectGetNotifier(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%GetObjectContextObjectObserve(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%GetObservationState();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function = function() {};
%GetOptimizationCount(_function);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%GetOwnElementNames(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _name = "name";
%GetOwnProperty(_obj, _name);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _filter_value = 1;
%GetOwnPropertyNames(_obj, _filter_value);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _key = new Object();
%GetProperty(_object, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%GetPropertyNames(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _raw_object = new Object();
%GetPropertyNamesFast(_raw_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%GetPrototype(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
try {
%GetRootNaN();
} catch(e) {}
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _wrapped_id = 1;
try {
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _wrapped_id = 1;
var _inlined_jsframe_index = 32;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _script_name = "foo";
%GetScript(_script_name);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _wrapped_id = 1;
try {
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _templ = new Object();
var _index = 1;
try {
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
try {
%GetThreadCount(_break_id);
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _break_id = 32;
var _index = 32;
try {
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%GetV8Version();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new WeakMap();
%GetWeakMapEntries(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new WeakMap();
%GetWeakSetValues(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _string = "foo";
%GlobalPrint(_string);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _global = new Object();
%GlobalProxy(_global);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _receiver = new Object();
var _index = 1;
%HasElement(_receiver, _index);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _key = "name";
%HasOwnProperty(_object, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _receiver = new Object();
var _key = "name";
%HasProperty(_receiver, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj1 = new Object();
var _obj2 = new Object();
%HaveSameMap(_obj1, _obj2);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.Collator('en-US'));
var _string1 = "foo";
var _string2 = "foo";
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.DateTimeFormat('en-US'));
var _date = new Date();
%InternalDateFormat(arg0, _date);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.DateTimeFormat('en-US'));
var _date_string = "foo";
%InternalDateParse(arg0, _date_string);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.NumberFormat('en-US'));
var _number = new Object();
%InternalNumberFormat(arg0, _number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = %GetImplFromInitializedIntlObject(new Intl.NumberFormat('en-US'));
var _number_string = "foo";
%InternalNumberParse(arg0, _number_string);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _global = new Object();
%IsAttachedGlobal(_global);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _type_arg = 32;
%IsBreakOnException(_type_arg);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%IsConcurrentRecompilationSupported();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%IsExtensible(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _input = new Object();
%IsInitializedIntlObject(_input);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _input = new Object();
var _expected_type = "foo";
%IsInitializedIntlObjectOfType(_input, _expected_type);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _O = new Object();
var _V = new Object();
%IsInPrototypeChain(_O, _V);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%IsJSFunctionProxy(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%IsJSGlobalProxy(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%IsJSModule(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%IsJSProxy(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%IsObserved(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%IsOptimized();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _key = "name";
%IsPropertyEnumerable(_object, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = function() {};
%IsSloppyModeFunction(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _arg = new Object();
%IsTemplate(_arg);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _number = 32;
%IsValidSmi(_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _receiver_obj = new Object();
var _key_obj = new Object();
%KeyedGetProperty(_receiver_obj, _key_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _shared_array = new Array();
var _do_drop = true;
%LiveEditCheckAndDropActivations(_shared_array, _do_drop);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _s1 = "foo";
var _s2 = "foo";
%LiveEditCompareStrings(_s1, _s2);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function_object = new Object();
var _script_object = new Object();
%LiveEditFunctionSetScript(_function_object, _script_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = {foo: 1.2};
var _index = 1;
%LoadMutableDouble(arg0, _index);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _receiver = new Object();
var _name = "name";
var _flag = 1;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map();
%MapClear(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map();
var _key = new Object();
%MapDelete(_holder, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map();
var _key = new Object();
%MapGet(_holder, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map();
%MapGetSize(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map();
var _key = new Object();
%MapHas(_holder, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map();
%MapInitialize(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map().entries();
var _map = new Map();
var _kind = 1;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map().entries();
var _value_array = new Array();
%MapIteratorNext(_holder, _value_array);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Map();
var _key = new Object();
var _value = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _input = new Object();
var _type = "foo";
var _impl = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathAcos(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathAsin(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathAtan(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%MathAtan2(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathExpRT(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathFloorRT(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathFround(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathLogRT(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%MathSqrtRT(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%MaxSmi();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _from = new Array();
var _to = new Array();
%MoveArrayContents(_from, _to);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function = function() {};
%NeverOptimizeFunction(_function);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _callee = function() {};
%NewArguments(_callee);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = (function() {}).bind({});
%NewObjectFromBound(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _length = 1;
var _is_one_byte = true;
%NewString(_length, _is_one_byte);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _value = "foo";
%NewStringWrapper(_value);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _symbol = Symbol("symbol");
%NewSymbolWrapper(_symbol);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%NotifyContextDisposed();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%NumberAdd(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 32;
var _y = 32;
%NumberAnd(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
var _uncomparable_result = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%NumberDiv(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%NumberEquals(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 32;
var _y = 32;
%NumberImul(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%NumberMod(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%NumberMul(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 32;
var _y = 32;
%NumberOr(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 32;
var _y = 32;
%NumberSar(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 32;
var _y = 32;
%NumberShl(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 32;
var _y = 32;
%NumberShr(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%NumberSub(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _value = 1.5;
var _f_number = 1.5;
%NumberToExponential(_value, _f_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _value = 1.5;
var _f_number = 1.5;
%NumberToFixed(_value, _f_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _number = 1.5;
%NumberToInteger(_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _number = 1.5;
%NumberToIntegerMapMinusZero(_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _number = 1.5;
%NumberToJSInt32(_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _number = 32;
%NumberToJSUint32(_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _value = 1.5;
var _f_number = 1.5;
%NumberToPrecision(_value, _f_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _value = 1.5;
var arg1 = 2;
%NumberToRadixString(_value, arg1);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _number = 1.5;
%NumberToStringRT(_number);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%NumberUnaryMinus(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 32;
var _y = 32;
%NumberXor(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%ObjectFreeze(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%ObjectWasCreatedInCurrentOrigin(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%ObservationWeakMapCreate();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _observer = function() {};
var _object = new Object();
var _record = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _properties = 1;
%OptimizeObjectForAddingMultipleProperties(_object, _properties);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _raw_object = new Object();
%OwnKeys(_raw_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = "{}";
%ParseJson(arg0);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%PreventExtensions(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _array = new Array();
var _element = new Object();
%PushIfAbsent(_array, _element);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _string = "foo";
%QuoteJSONString(_string);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _re = /ab/g;
var _pattern = "foo";
var _flags = "foo";
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _size = 1;
var _index = new Object();
var _input = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _regexp = /ab/g;
var _subject = "foo";
var arg2 = ['a'];
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _regexp = /ab/g;
var _subject = "foo";
var _index = 1;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _regexp = /ab/g;
var _source = "foo";
var _global = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
var _limit = 32;
%RemoveArrayHoles(_object, _limit);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
%RemPiO2(_x);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _input = 1.5;
%RoundNumber(_input);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%RunMicrotasks();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%RunningInSimulator();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set();
var _key = new Object();
%SetAdd(_holder, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set();
%SetClear(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _target = function() {};
var _source = function() {};
%SetCode(_target, _source);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = undefined;
var _data = new Object();
%SetDebugEventListener(arg0, _data);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set();
var _key = new Object();
%SetDelete(_holder, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _disable_break = true;
%SetDisableBreak(_disable_break);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _arg = "foo";
%SetFlags(_arg);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _function = function() {};
var arg1 = 200;
var arg1 = 218;
var _break_point_object_arg = new Object();
%SetFunctionBreakPoint(_function, arg1, _break_point_object_arg);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set();
%SetGetSize(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set();
var _key = new Object();
%SetHas(_holder, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set();
%SetInitialize(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%SetIsObserved(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set().values();
var _set = new Set();
var arg2 = 2;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Set().values();
var _value_array = new Array();
%SetIteratorNext(_holder, _value_array);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
var _prototype = new Object();
%SetPrototype(_obj, _prototype);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _fun = function() {};
var _wrapped_id = 1;
var _inlined_jsframe_index = 32;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x_value = 1;
var _y_value = 1;
%SmiLexicographicCompare(_x_value, _y_value);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _elements_array = new Array();
var _array_length = 32;
var _separator = "foo";
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%SpecialArrayFunctions();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = [1, 2, 3];
var arg1 = 3;
var _special = "foo";
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var arg0 = ['a', 'b'];
var arg1 = 4;
var _separator = "foo";
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
var _i = 32;
%StringCharCodeAtRT(_subject, _i);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = "foo";
var _y = "foo";
%StringEquals(_x, _y);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _sub = "foo";
var _pat = "foo";
var _index = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _sub = "foo";
var _pat = "foo";
var _index = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _str1 = "foo";
var _str2 = "foo";
%StringLocaleCompare(_str1, _str2);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
var _regexp = /ab/g;
var arg2 = ['a', 'b'];
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _stringValue = "foo";
var arg1 = 2;
%StringNormalize(_stringValue, arg1);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
%StringParseFloat(_subject);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
var _radix = 32;
%StringParseInt(_subject, _radix);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
var _regexp = /ab/g;
var _replacement = "foo";
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
var _search = "foo";
var _replace = "foo";
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
var _pattern = "foo";
var _limit = 32;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _s = "foo";
var _limit = 32;
%StringToArray(_s, _limit);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _s = "foo";
%StringToLowerCase(_s);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _subject = "foo";
%StringToNumber(_subject);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _s = "foo";
%StringToUpperCase(_s);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _string = "foo";
var _trimLeft = true;
var _trimRight = true;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _symbol = Symbol("symbol");
%SymbolDescription(_symbol);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _symbol = Symbol("symbol");
%SymbolIsPrivate(_symbol);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%SymbolRegistry();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%ToBool(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%ToFastProperties(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%TraceEnter();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%TraceExit(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _string = "seqstring";
var _new_length = 1;
%TruncateString(_string, _new_length);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _object = new Object();
%TryMigrateInstance(_object);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Int32Array(2);
%TypedArrayGetBuffer(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Int32Array(2);
%TypedArrayGetLength(_holder);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Int32Array(2);
var arg1 = 6;
var arg2 = new ArrayBuffer(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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _holder = new Int32Array(2);
var arg1 = 6;
var _source = new Object();
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
%TypedArrayMaxSizeInHeap();
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _target_obj = new Int32Array(2);
var _source_obj = new Int32Array(2);
var arg2 = 0;
......
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _obj = new Object();
%Typeof(_obj);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
try {
%UnblockConcurrentRecompilation();
} catch(e) {}
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _source = "foo";
%URIEscape(_source);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _source = "foo";
%URIUnescape(_source);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _weak_collection = new WeakMap();
var _key = new Object();
%WeakCollectionDelete(_weak_collection, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _weak_collection = new WeakMap();
var _key = new Object();
%WeakCollectionGet(_weak_collection, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _weak_collection = new WeakMap();
var _key = new Object();
%WeakCollectionHas(_weak_collection, _key);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _weak_collection = new WeakMap();
%WeakCollectionInitialize(_weak_collection);
// 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
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _weak_collection = new WeakMap();
var _key = new Object();
var _value = new Object();
......
......@@ -248,7 +248,7 @@ CUSTOM_KNOWN_GOOD_INPUT = {
"DefineApiAccessorProperty": [None, None, "undefined", "undefined", None, None],
"SetIteratorInitialize": [None, None, "2", None],
"SetDebugEventListener": ["undefined", None, None],
"SetFunctionBreakPoint": [None, 200, None, None],
"SetFunctionBreakPoint": [None, 218, None, None],
"StringBuilderConcat": ["[1, 2, 3]", 3, None, None],
"StringBuilderJoin": ["['a', 'b']", 4, None, None],
"StringMatch": [None, None, "['a', 'b']", None],
......@@ -1132,7 +1132,8 @@ def _GetKnownGoodArgs(function, generator):
def _GenerateTestcase(function, definitions, argslist, throws):
s = ["// 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"] + definitions
"// Flags: --allow-natives-syntax --harmony --harmony-proxies"
] + definitions
call = "%%%s%s(%s);" % (function.inline, function.name, ", ".join(argslist))
if throws:
s.append("try {")
......@@ -1212,7 +1213,7 @@ def RunFuzzer(process_id, options, stop_running):
with open(stderr_file_name, "w") as stderr:
process = subprocess.Popen(
[options.binary, "--allow-natives-syntax", "--harmony",
"--enable-slow-asserts", test_file_name],
"--harmony-proxies", "--enable-slow-asserts", test_file_name],
stdout=devnull, stderr=stderr)
end_time = time.time() + options.timeout
timed_out = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment