From: jkummerow@chromium.org Date: Tue, 9 Sep 2014 12:24:43 +0000 (+0000) Subject: Delete generated runtime tests X-Git-Tag: upstream/4.7.83~7042 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5cc34b6b52a6388589482dec990c8ad990f46950;p=platform%2Fupstream%2Fv8.git Delete generated runtime tests R=yangguo@chromium.org Review URL: https://codereview.chromium.org/548383002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23800 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 55bb99a..9d0fbdf 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -41,7 +41,7 @@ def _V8PresubmitChecks(input_api, output_api): input_api.PresubmitLocalPath(), 'tools')) from presubmit import CppLintProcessor from presubmit import SourceProcessor - from presubmit import CheckGeneratedRuntimeTests + from presubmit import CheckRuntimeVsNativesNameClashes from presubmit import CheckExternalReferenceRegistration results = [] @@ -51,9 +51,9 @@ def _V8PresubmitChecks(input_api, output_api): results.append(output_api.PresubmitError( "Copyright header, trailing whitespaces and two empty lines " \ "between declarations check failed")) - if not CheckGeneratedRuntimeTests(input_api.PresubmitLocalPath()): + if not CheckRuntimeVsNativesNameClashes(input_api.PresubmitLocalPath()): results.append(output_api.PresubmitError( - "Generated runtime tests check failed")) + "Runtime/natives name clash check failed")) if not CheckExternalReferenceRegistration(input_api.PresubmitLocalPath()): results.append(output_api.PresubmitError( "External references registration check failed")) diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index 083432c..a2a3a5a 100644 --- a/test/mjsunit/mjsunit.status +++ b/test/mjsunit/mjsunit.status @@ -230,33 +230,6 @@ }], # 'gc_stress == True' ############################################################################## -['no_i18n', { - # Don't call runtime functions that don't exist without i18n support. - 'runtime-gen/availablelocalesof': [SKIP], - 'runtime-gen/breakiteratoradopttext': [SKIP], - 'runtime-gen/breakiteratorbreaktype': [SKIP], - 'runtime-gen/breakiteratorbreaktype': [SKIP], - 'runtime-gen/breakiteratorcurrent': [SKIP], - 'runtime-gen/breakiteratorfirst': [SKIP], - 'runtime-gen/breakiteratornext': [SKIP], - 'runtime-gen/canonicalizelanguagetag': [SKIP], - 'runtime-gen/createbreakiterator': [SKIP], - 'runtime-gen/createcollator': [SKIP], - 'runtime-gen/getdefaulticulocale': [SKIP], - 'runtime-gen/getimplfrominitializedintlobject': [SKIP], - 'runtime-gen/getlanguagetagvariants': [SKIP], - 'runtime-gen/internalcompare': [SKIP], - 'runtime-gen/internaldateformat': [SKIP], - 'runtime-gen/internaldateparse': [SKIP], - 'runtime-gen/internalnumberformat': [SKIP], - 'runtime-gen/internalnumberparse': [SKIP], - 'runtime-gen/isinitializedintlobject': [SKIP], - 'runtime-gen/isinitializedintlobjectoftype': [SKIP], - 'runtime-gen/markasinitializedintlobjectoftype': [SKIP], - 'runtime-gen/stringnormalize': [SKIP], -}], - -############################################################################## ['arch == arm64 or arch == android_arm64', { # arm64 TF timeout. diff --git a/test/mjsunit/runtime-gen/arraybuffergetbytelength.js b/test/mjsunit/runtime-gen/arraybuffergetbytelength.js deleted file mode 100644 index 8aff9ac..0000000 --- a/test/mjsunit/runtime-gen/arraybuffergetbytelength.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new ArrayBuffer(8); -%ArrayBufferGetByteLength(_holder); diff --git a/test/mjsunit/runtime-gen/arraybufferinitialize.js b/test/mjsunit/runtime-gen/arraybufferinitialize.js deleted file mode 100644 index c4520c6..0000000 --- a/test/mjsunit/runtime-gen/arraybufferinitialize.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new ArrayBuffer(8); -var _byteLength = 1.5; -%ArrayBufferInitialize(_holder, _byteLength); diff --git a/test/mjsunit/runtime-gen/arraybufferisview.js b/test/mjsunit/runtime-gen/arraybufferisview.js deleted file mode 100644 index 46cc5ba..0000000 --- a/test/mjsunit/runtime-gen/arraybufferisview.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%ArrayBufferIsView(_object); diff --git a/test/mjsunit/runtime-gen/arraybufferneuter.js b/test/mjsunit/runtime-gen/arraybufferneuter.js deleted file mode 100644 index 89e9ee9..0000000 --- a/test/mjsunit/runtime-gen/arraybufferneuter.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _array_buffer = new ArrayBuffer(8); -%ArrayBufferNeuter(_array_buffer); diff --git a/test/mjsunit/runtime-gen/arraybuffersliceimpl.js b/test/mjsunit/runtime-gen/arraybuffersliceimpl.js deleted file mode 100644 index cb02bb0..0000000 --- a/test/mjsunit/runtime-gen/arraybuffersliceimpl.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _source = new ArrayBuffer(8); -var _target = new ArrayBuffer(8); -var arg2 = 0; -%ArrayBufferSliceImpl(_source, _target, arg2); diff --git a/test/mjsunit/runtime-gen/arraybufferviewgetbytelength.js b/test/mjsunit/runtime-gen/arraybufferviewgetbytelength.js deleted file mode 100644 index e32ea0d..0000000 --- a/test/mjsunit/runtime-gen/arraybufferviewgetbytelength.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Int32Array(2); -%ArrayBufferViewGetByteLength(_holder); diff --git a/test/mjsunit/runtime-gen/arraybufferviewgetbyteoffset.js b/test/mjsunit/runtime-gen/arraybufferviewgetbyteoffset.js deleted file mode 100644 index 4c64ff2..0000000 --- a/test/mjsunit/runtime-gen/arraybufferviewgetbyteoffset.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Int32Array(2); -%ArrayBufferViewGetByteOffset(_holder); diff --git a/test/mjsunit/runtime-gen/arrayconcat.js b/test/mjsunit/runtime-gen/arrayconcat.js deleted file mode 100644 index 09487a6..0000000 --- a/test/mjsunit/runtime-gen/arrayconcat.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = [1, 'a']; -%ArrayConcat(arg0); diff --git a/test/mjsunit/runtime-gen/availablelocalesof.js b/test/mjsunit/runtime-gen/availablelocalesof.js deleted file mode 100644 index a59c9b0..0000000 --- a/test/mjsunit/runtime-gen/availablelocalesof.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _service = "foo"; -%AvailableLocalesOf(_service); diff --git a/test/mjsunit/runtime-gen/basicjsonstringify.js b/test/mjsunit/runtime-gen/basicjsonstringify.js deleted file mode 100644 index 55d1978..0000000 --- a/test/mjsunit/runtime-gen/basicjsonstringify.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%BasicJSONStringify(_object); diff --git a/test/mjsunit/runtime-gen/booleanize.js b/test/mjsunit/runtime-gen/booleanize.js deleted file mode 100644 index 8685368..0000000 --- a/test/mjsunit/runtime-gen/booleanize.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _value_raw = new Object(); -var _token_raw = 1; -%Booleanize(_value_raw, _token_raw); diff --git a/test/mjsunit/runtime-gen/boundfunctiongetbindings.js b/test/mjsunit/runtime-gen/boundfunctiongetbindings.js deleted file mode 100644 index 9221d3d..0000000 --- a/test/mjsunit/runtime-gen/boundfunctiongetbindings.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _callable = new Object(); -%BoundFunctionGetBindings(_callable); diff --git a/test/mjsunit/runtime-gen/break.js b/test/mjsunit/runtime-gen/break.js deleted file mode 100644 index 4b600d8..0000000 --- a/test/mjsunit/runtime-gen/break.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%Break(); diff --git a/test/mjsunit/runtime-gen/breakiteratoradopttext.js b/test/mjsunit/runtime-gen/breakiteratoradopttext.js deleted file mode 100644 index 64b6059..0000000 --- a/test/mjsunit/runtime-gen/breakiteratoradopttext.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator()); -var _text = "foo"; -%BreakIteratorAdoptText(arg0, _text); diff --git a/test/mjsunit/runtime-gen/breakiteratorbreaktype.js b/test/mjsunit/runtime-gen/breakiteratorbreaktype.js deleted file mode 100644 index 08cceb8..0000000 --- a/test/mjsunit/runtime-gen/breakiteratorbreaktype.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator()); -%BreakIteratorBreakType(arg0); diff --git a/test/mjsunit/runtime-gen/breakiteratorcurrent.js b/test/mjsunit/runtime-gen/breakiteratorcurrent.js deleted file mode 100644 index 42000a8..0000000 --- a/test/mjsunit/runtime-gen/breakiteratorcurrent.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator()); -%BreakIteratorCurrent(arg0); diff --git a/test/mjsunit/runtime-gen/breakiteratorfirst.js b/test/mjsunit/runtime-gen/breakiteratorfirst.js deleted file mode 100644 index 3fad88c..0000000 --- a/test/mjsunit/runtime-gen/breakiteratorfirst.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator()); -%BreakIteratorFirst(arg0); diff --git a/test/mjsunit/runtime-gen/breakiteratornext.js b/test/mjsunit/runtime-gen/breakiteratornext.js deleted file mode 100644 index be72ffc..0000000 --- a/test/mjsunit/runtime-gen/breakiteratornext.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.v8BreakIterator()); -%BreakIteratorNext(arg0); diff --git a/test/mjsunit/runtime-gen/canonicalizelanguagetag.js b/test/mjsunit/runtime-gen/canonicalizelanguagetag.js deleted file mode 100644 index 45df230a..0000000 --- a/test/mjsunit/runtime-gen/canonicalizelanguagetag.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _locale_id_str = "foo"; -%CanonicalizeLanguageTag(_locale_id_str); diff --git a/test/mjsunit/runtime-gen/changebreakonexception.js b/test/mjsunit/runtime-gen/changebreakonexception.js deleted file mode 100644 index 4bc0d43..0000000 --- a/test/mjsunit/runtime-gen/changebreakonexception.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _type_arg = 32; -var _enable = true; -%ChangeBreakOnException(_type_arg, _enable); diff --git a/test/mjsunit/runtime-gen/charfromcode.js b/test/mjsunit/runtime-gen/charfromcode.js deleted file mode 100644 index 2082339..0000000 --- a/test/mjsunit/runtime-gen/charfromcode.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _code = 32; -%CharFromCode(_code); diff --git a/test/mjsunit/runtime-gen/checkexecutionstate.js b/test/mjsunit/runtime-gen/checkexecutionstate.js deleted file mode 100644 index 7e740c3..0000000 --- a/test/mjsunit/runtime-gen/checkexecutionstate.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _break_id = 32; -try { -%CheckExecutionState(_break_id); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/checkisbootstrapping.js b/test/mjsunit/runtime-gen/checkisbootstrapping.js deleted file mode 100644 index 114b20c..0000000 --- a/test/mjsunit/runtime-gen/checkisbootstrapping.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -try { -%CheckIsBootstrapping(); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/clearbreakpoint.js b/test/mjsunit/runtime-gen/clearbreakpoint.js deleted file mode 100644 index 1c11bc8..0000000 --- a/test/mjsunit/runtime-gen/clearbreakpoint.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _break_point_object_arg = new Object(); -%ClearBreakPoint(_break_point_object_arg); diff --git a/test/mjsunit/runtime-gen/clearfunctiontypefeedback.js b/test/mjsunit/runtime-gen/clearfunctiontypefeedback.js deleted file mode 100644 index f42b8da..0000000 --- a/test/mjsunit/runtime-gen/clearfunctiontypefeedback.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _function = function() {}; -%ClearFunctionTypeFeedback(_function); diff --git a/test/mjsunit/runtime-gen/clearstepping.js b/test/mjsunit/runtime-gen/clearstepping.js deleted file mode 100644 index bfab2cd..0000000 --- a/test/mjsunit/runtime-gen/clearstepping.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%ClearStepping(); diff --git a/test/mjsunit/runtime-gen/collectstacktrace.js b/test/mjsunit/runtime-gen/collectstacktrace.js deleted file mode 100644 index bac9b6a..0000000 --- a/test/mjsunit/runtime-gen/collectstacktrace.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _error_object = new Object(); -var _caller = new Object(); -%CollectStackTrace(_error_object, _caller); diff --git a/test/mjsunit/runtime-gen/compilestring.js b/test/mjsunit/runtime-gen/compilestring.js deleted file mode 100644 index 659afca..0000000 --- a/test/mjsunit/runtime-gen/compilestring.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _source = "foo"; -var arg1 = false; -%CompileString(_source, arg1); diff --git a/test/mjsunit/runtime-gen/constructdouble.js b/test/mjsunit/runtime-gen/constructdouble.js deleted file mode 100644 index 9ac3dee..0000000 --- a/test/mjsunit/runtime-gen/constructdouble.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _hi = 32; -var _lo = 32; -%ConstructDouble(_hi, _lo); diff --git a/test/mjsunit/runtime-gen/createbreakiterator.js b/test/mjsunit/runtime-gen/createbreakiterator.js deleted file mode 100644 index a8750b3..0000000 --- a/test/mjsunit/runtime-gen/createbreakiterator.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var arg0 = 'en-US'; -var arg1 = {type: 'string'}; -var _resolved = new Object(); -%CreateBreakIterator(arg0, arg1, _resolved); diff --git a/test/mjsunit/runtime-gen/createcollator.js b/test/mjsunit/runtime-gen/createcollator.js deleted file mode 100644 index 0d5b18d..0000000 --- a/test/mjsunit/runtime-gen/createcollator.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _locale = "foo"; -var _options = new Object(); -var _resolved = new Object(); -%CreateCollator(_locale, _options, _resolved); diff --git a/test/mjsunit/runtime-gen/createglobalprivateownsymbol.js b/test/mjsunit/runtime-gen/createglobalprivateownsymbol.js deleted file mode 100644 index bfc6e71..0000000 --- a/test/mjsunit/runtime-gen/createglobalprivateownsymbol.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _name = "foo"; -%CreateGlobalPrivateOwnSymbol(_name); diff --git a/test/mjsunit/runtime-gen/createjsfunctionproxy.js b/test/mjsunit/runtime-gen/createjsfunctionproxy.js deleted file mode 100644 index b4e1c31..0000000 --- a/test/mjsunit/runtime-gen/createjsfunctionproxy.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _handler = new Object(); -var arg1 = function() {}; -var _construct_trap = function() {}; -var _prototype = new Object(); -%CreateJSFunctionProxy(_handler, arg1, _construct_trap, _prototype); diff --git a/test/mjsunit/runtime-gen/createjsproxy.js b/test/mjsunit/runtime-gen/createjsproxy.js deleted file mode 100644 index ecdef60..0000000 --- a/test/mjsunit/runtime-gen/createjsproxy.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _handler = new Object(); -var _prototype = new Object(); -%CreateJSProxy(_handler, _prototype); diff --git a/test/mjsunit/runtime-gen/createprivateownsymbol.js b/test/mjsunit/runtime-gen/createprivateownsymbol.js deleted file mode 100644 index 7454828..0000000 --- a/test/mjsunit/runtime-gen/createprivateownsymbol.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = "foo"; -%CreatePrivateOwnSymbol(arg0); diff --git a/test/mjsunit/runtime-gen/createprivatesymbol.js b/test/mjsunit/runtime-gen/createprivatesymbol.js deleted file mode 100644 index bbd99c1..0000000 --- a/test/mjsunit/runtime-gen/createprivatesymbol.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = "foo"; -%CreatePrivateSymbol(arg0); diff --git a/test/mjsunit/runtime-gen/createsymbol.js b/test/mjsunit/runtime-gen/createsymbol.js deleted file mode 100644 index 8452b9c..0000000 --- a/test/mjsunit/runtime-gen/createsymbol.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = "foo"; -%CreateSymbol(arg0); diff --git a/test/mjsunit/runtime-gen/dataviewgetbuffer.js b/test/mjsunit/runtime-gen/dataviewgetbuffer.js deleted file mode 100644 index 84bab80..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetbuffer.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -%DataViewGetBuffer(_holder); diff --git a/test/mjsunit/runtime-gen/dataviewgetfloat32.js b/test/mjsunit/runtime-gen/dataviewgetfloat32.js deleted file mode 100644 index 57f3c2a..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetfloat32.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetFloat32(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewgetfloat64.js b/test/mjsunit/runtime-gen/dataviewgetfloat64.js deleted file mode 100644 index 7f80c5b..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetfloat64.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetFloat64(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewgetint16.js b/test/mjsunit/runtime-gen/dataviewgetint16.js deleted file mode 100644 index e618c1c..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetint16.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetInt16(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewgetint32.js b/test/mjsunit/runtime-gen/dataviewgetint32.js deleted file mode 100644 index 2395a6d..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetint32.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetInt32(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewgetint8.js b/test/mjsunit/runtime-gen/dataviewgetint8.js deleted file mode 100644 index fe92ed7..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetint8.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetInt8(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewgetuint16.js b/test/mjsunit/runtime-gen/dataviewgetuint16.js deleted file mode 100644 index 50be62b..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetuint16.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetUint16(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewgetuint32.js b/test/mjsunit/runtime-gen/dataviewgetuint32.js deleted file mode 100644 index 2f85aee..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetuint32.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetUint32(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewgetuint8.js b/test/mjsunit/runtime-gen/dataviewgetuint8.js deleted file mode 100644 index 6a682e1..0000000 --- a/test/mjsunit/runtime-gen/dataviewgetuint8.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _is_little_endian = true; -%DataViewGetUint8(_holder, _offset, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewinitialize.js b/test/mjsunit/runtime-gen/dataviewinitialize.js deleted file mode 100644 index 167d531..0000000 --- a/test/mjsunit/runtime-gen/dataviewinitialize.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _buffer = new ArrayBuffer(8); -var _byte_offset = 1.5; -var _byte_length = 1.5; -%DataViewInitialize(_holder, _buffer, _byte_offset, _byte_length); diff --git a/test/mjsunit/runtime-gen/dataviewsetfloat32.js b/test/mjsunit/runtime-gen/dataviewsetfloat32.js deleted file mode 100644 index 46d00af..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetfloat32.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetFloat32(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewsetfloat64.js b/test/mjsunit/runtime-gen/dataviewsetfloat64.js deleted file mode 100644 index c57b514..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetfloat64.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetFloat64(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewsetint16.js b/test/mjsunit/runtime-gen/dataviewsetint16.js deleted file mode 100644 index 1f45448..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetint16.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetInt16(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewsetint32.js b/test/mjsunit/runtime-gen/dataviewsetint32.js deleted file mode 100644 index 837d4f2..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetint32.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetInt32(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewsetint8.js b/test/mjsunit/runtime-gen/dataviewsetint8.js deleted file mode 100644 index 725e658..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetint8.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetInt8(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewsetuint16.js b/test/mjsunit/runtime-gen/dataviewsetuint16.js deleted file mode 100644 index d1b1a24..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetuint16.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetUint16(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewsetuint32.js b/test/mjsunit/runtime-gen/dataviewsetuint32.js deleted file mode 100644 index e46c8f3..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetuint32.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetUint32(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/dataviewsetuint8.js b/test/mjsunit/runtime-gen/dataviewsetuint8.js deleted file mode 100644 index 6c36723..0000000 --- a/test/mjsunit/runtime-gen/dataviewsetuint8.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new DataView(new ArrayBuffer(24)); -var _offset = 1.5; -var _value = 1.5; -var _is_little_endian = true; -%DataViewSetUint8(_holder, _offset, _value, _is_little_endian); diff --git a/test/mjsunit/runtime-gen/datecacheversion.js b/test/mjsunit/runtime-gen/datecacheversion.js deleted file mode 100644 index ea56c73..0000000 --- a/test/mjsunit/runtime-gen/datecacheversion.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%DateCacheVersion(); diff --git a/test/mjsunit/runtime-gen/datecurrenttime.js b/test/mjsunit/runtime-gen/datecurrenttime.js deleted file mode 100644 index 759ebd0..0000000 --- a/test/mjsunit/runtime-gen/datecurrenttime.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%DateCurrentTime(); diff --git a/test/mjsunit/runtime-gen/datelocaltimezone.js b/test/mjsunit/runtime-gen/datelocaltimezone.js deleted file mode 100644 index bfc1a81..0000000 --- a/test/mjsunit/runtime-gen/datelocaltimezone.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%DateLocalTimezone(_x); diff --git a/test/mjsunit/runtime-gen/datemakeday.js b/test/mjsunit/runtime-gen/datemakeday.js deleted file mode 100644 index 3d2334f..0000000 --- a/test/mjsunit/runtime-gen/datemakeday.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _year = 1; -var _month = 1; -%DateMakeDay(_year, _month); diff --git a/test/mjsunit/runtime-gen/dateparsestring.js b/test/mjsunit/runtime-gen/dateparsestring.js deleted file mode 100644 index fdf5faa..0000000 --- a/test/mjsunit/runtime-gen/dateparsestring.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _str = "foo"; -var arg1 = new Array(8); -%DateParseString(_str, arg1); diff --git a/test/mjsunit/runtime-gen/datesetvalue.js b/test/mjsunit/runtime-gen/datesetvalue.js deleted file mode 100644 index dac1a36..0000000 --- a/test/mjsunit/runtime-gen/datesetvalue.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _date = new Date(); -var _time = 1.5; -var _is_utc = 1; -%DateSetValue(_date, _time, _is_utc); diff --git a/test/mjsunit/runtime-gen/datetoutc.js b/test/mjsunit/runtime-gen/datetoutc.js deleted file mode 100644 index f46644e..0000000 --- a/test/mjsunit/runtime-gen/datetoutc.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%DateToUTC(_x); diff --git a/test/mjsunit/runtime-gen/debugasynctaskevent.js b/test/mjsunit/runtime-gen/debugasynctaskevent.js deleted file mode 100644 index ceeaf13..0000000 --- a/test/mjsunit/runtime-gen/debugasynctaskevent.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _data = new Object(); -%DebugAsyncTaskEvent(_data); diff --git a/test/mjsunit/runtime-gen/debugbreak.js b/test/mjsunit/runtime-gen/debugbreak.js deleted file mode 100644 index 68220df..0000000 --- a/test/mjsunit/runtime-gen/debugbreak.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%DebugBreak(); diff --git a/test/mjsunit/runtime-gen/debugcallbacksupportsstepping.js b/test/mjsunit/runtime-gen/debugcallbacksupportsstepping.js deleted file mode 100644 index b683be0..0000000 --- a/test/mjsunit/runtime-gen/debugcallbacksupportsstepping.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _callback = new Object(); -%DebugCallbackSupportsStepping(_callback); diff --git a/test/mjsunit/runtime-gen/debugconstructedby.js b/test/mjsunit/runtime-gen/debugconstructedby.js deleted file mode 100644 index 8850344..0000000 --- a/test/mjsunit/runtime-gen/debugconstructedby.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _constructor = function() {}; -var _max_references = 32; -%DebugConstructedBy(_constructor, _max_references); diff --git a/test/mjsunit/runtime-gen/debugdisassembleconstructor.js b/test/mjsunit/runtime-gen/debugdisassembleconstructor.js deleted file mode 100644 index c2faca4..0000000 --- a/test/mjsunit/runtime-gen/debugdisassembleconstructor.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _func = function() {}; -%DebugDisassembleConstructor(_func); diff --git a/test/mjsunit/runtime-gen/debugdisassemblefunction.js b/test/mjsunit/runtime-gen/debugdisassemblefunction.js deleted file mode 100644 index f658867..0000000 --- a/test/mjsunit/runtime-gen/debugdisassemblefunction.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _func = function() {}; -%DebugDisassembleFunction(_func); diff --git a/test/mjsunit/runtime-gen/debugevaluate.js b/test/mjsunit/runtime-gen/debugevaluate.js deleted file mode 100644 index 60e1e63..0000000 --- a/test/mjsunit/runtime-gen/debugevaluate.js +++ /dev/null @@ -1,12 +0,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 --harmony-proxies -var _break_id = 32; -var _wrapped_id = 1; -var _inlined_jsframe_index = 32; -var _source = "foo"; -var _disable_break = true; -var _context_extension = new Object(); -try { -%DebugEvaluate(_break_id, _wrapped_id, _inlined_jsframe_index, _source, _disable_break, _context_extension); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/debugevaluateglobal.js b/test/mjsunit/runtime-gen/debugevaluateglobal.js deleted file mode 100644 index 11411d1..0000000 --- a/test/mjsunit/runtime-gen/debugevaluateglobal.js +++ /dev/null @@ -1,10 +0,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 --harmony-proxies -var _break_id = 32; -var _source = "foo"; -var _disable_break = true; -var _context_extension = new Object(); -try { -%DebugEvaluateGlobal(_break_id, _source, _disable_break, _context_extension); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/debuggetproperty.js b/test/mjsunit/runtime-gen/debuggetproperty.js deleted file mode 100644 index 90109d1..0000000 --- a/test/mjsunit/runtime-gen/debuggetproperty.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _obj = new Object(); -var _name = "name"; -%DebugGetProperty(_obj, _name); diff --git a/test/mjsunit/runtime-gen/debuggetpropertydetails.js b/test/mjsunit/runtime-gen/debuggetpropertydetails.js deleted file mode 100644 index 0fe2f31..0000000 --- a/test/mjsunit/runtime-gen/debuggetpropertydetails.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _obj = new Object(); -var _name = "name"; -%DebugGetPropertyDetails(_obj, _name); diff --git a/test/mjsunit/runtime-gen/debuggetprototype.js b/test/mjsunit/runtime-gen/debuggetprototype.js deleted file mode 100644 index 27de855..0000000 --- a/test/mjsunit/runtime-gen/debuggetprototype.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%DebugGetPrototype(_obj); diff --git a/test/mjsunit/runtime-gen/debugindexedinterceptorelementvalue.js b/test/mjsunit/runtime-gen/debugindexedinterceptorelementvalue.js deleted file mode 100644 index 22d24ee..0000000 --- a/test/mjsunit/runtime-gen/debugindexedinterceptorelementvalue.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _obj = new Object(); -var _index = 32; -try { -%DebugIndexedInterceptorElementValue(_obj, _index); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/debugnamedinterceptorpropertyvalue.js b/test/mjsunit/runtime-gen/debugnamedinterceptorpropertyvalue.js deleted file mode 100644 index 13641d2..0000000 --- a/test/mjsunit/runtime-gen/debugnamedinterceptorpropertyvalue.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _obj = new Object(); -var _name = "name"; -try { -%DebugNamedInterceptorPropertyValue(_obj, _name); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/debugpoppromise.js b/test/mjsunit/runtime-gen/debugpoppromise.js deleted file mode 100644 index 9b81b13..0000000 --- a/test/mjsunit/runtime-gen/debugpoppromise.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%DebugPopPromise(); diff --git a/test/mjsunit/runtime-gen/debugpreparestepinifstepping.js b/test/mjsunit/runtime-gen/debugpreparestepinifstepping.js deleted file mode 100644 index a6061e6..0000000 --- a/test/mjsunit/runtime-gen/debugpreparestepinifstepping.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _callback = function() {}; -%DebugPrepareStepInIfStepping(_callback); diff --git a/test/mjsunit/runtime-gen/debugprintscopes.js b/test/mjsunit/runtime-gen/debugprintscopes.js deleted file mode 100644 index 2f106dd..0000000 --- a/test/mjsunit/runtime-gen/debugprintscopes.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%DebugPrintScopes(); diff --git a/test/mjsunit/runtime-gen/debugpromiseevent.js b/test/mjsunit/runtime-gen/debugpromiseevent.js deleted file mode 100644 index 20ae13c..0000000 --- a/test/mjsunit/runtime-gen/debugpromiseevent.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _data = new Object(); -%DebugPromiseEvent(_data); diff --git a/test/mjsunit/runtime-gen/debugpromiserejectevent.js b/test/mjsunit/runtime-gen/debugpromiserejectevent.js deleted file mode 100644 index 4e6e633..0000000 --- a/test/mjsunit/runtime-gen/debugpromiserejectevent.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _promise = new Object(); -var _value = new Object(); -%DebugPromiseRejectEvent(_promise, _value); diff --git a/test/mjsunit/runtime-gen/debugpropertyattributesfromdetails.js b/test/mjsunit/runtime-gen/debugpropertyattributesfromdetails.js deleted file mode 100644 index 7802a35..0000000 --- a/test/mjsunit/runtime-gen/debugpropertyattributesfromdetails.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _details = 513; -%DebugPropertyAttributesFromDetails(_details); diff --git a/test/mjsunit/runtime-gen/debugpropertyindexfromdetails.js b/test/mjsunit/runtime-gen/debugpropertyindexfromdetails.js deleted file mode 100644 index 02edeee..0000000 --- a/test/mjsunit/runtime-gen/debugpropertyindexfromdetails.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _details = 513; -%DebugPropertyIndexFromDetails(_details); diff --git a/test/mjsunit/runtime-gen/debugpropertytypefromdetails.js b/test/mjsunit/runtime-gen/debugpropertytypefromdetails.js deleted file mode 100644 index 551ff2c..0000000 --- a/test/mjsunit/runtime-gen/debugpropertytypefromdetails.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _details = 513; -%DebugPropertyTypeFromDetails(_details); diff --git a/test/mjsunit/runtime-gen/debugpushpromise.js b/test/mjsunit/runtime-gen/debugpushpromise.js deleted file mode 100644 index 350a613..0000000 --- a/test/mjsunit/runtime-gen/debugpushpromise.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _promise = new Object(); -%DebugPushPromise(_promise); diff --git a/test/mjsunit/runtime-gen/debugreferencedby.js b/test/mjsunit/runtime-gen/debugreferencedby.js deleted file mode 100644 index 94e1242..0000000 --- a/test/mjsunit/runtime-gen/debugreferencedby.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _target = new Object(); -var _instance_filter = new Object(); -var _max_references = 32; -%DebugReferencedBy(_target, _instance_filter, _max_references); diff --git a/test/mjsunit/runtime-gen/debugtrace.js b/test/mjsunit/runtime-gen/debugtrace.js deleted file mode 100644 index 2933ad1..0000000 --- a/test/mjsunit/runtime-gen/debugtrace.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%DebugTrace(); diff --git a/test/mjsunit/runtime-gen/defineaccessorpropertyunchecked.js b/test/mjsunit/runtime-gen/defineaccessorpropertyunchecked.js deleted file mode 100644 index c6cbb91..0000000 --- a/test/mjsunit/runtime-gen/defineaccessorpropertyunchecked.js +++ /dev/null @@ -1,9 +0,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 --harmony-proxies -var _obj = new Object(); -var _name = "name"; -var arg2 = function() {}; -var arg3 = function() {}; -var arg4 = 2; -%DefineAccessorPropertyUnchecked(_obj, _name, arg2, arg3, arg4); diff --git a/test/mjsunit/runtime-gen/defineapiaccessorproperty.js b/test/mjsunit/runtime-gen/defineapiaccessorproperty.js deleted file mode 100644 index 856a531..0000000 --- a/test/mjsunit/runtime-gen/defineapiaccessorproperty.js +++ /dev/null @@ -1,9 +0,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 --harmony-proxies -var _object = new Object(); -var _name = "name"; -var arg2 = undefined; -var arg3 = undefined; -var _attribute = 1; -%DefineApiAccessorProperty(_object, _name, arg2, arg3, _attribute); diff --git a/test/mjsunit/runtime-gen/definedatapropertyunchecked.js b/test/mjsunit/runtime-gen/definedatapropertyunchecked.js deleted file mode 100644 index cb0f07f..0000000 --- a/test/mjsunit/runtime-gen/definedatapropertyunchecked.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _js_object = new Object(); -var _name = "name"; -var _obj_value = new Object(); -var _unchecked = 1; -%DefineDataPropertyUnchecked(_js_object, _name, _obj_value, _unchecked); diff --git a/test/mjsunit/runtime-gen/deleteproperty.js b/test/mjsunit/runtime-gen/deleteproperty.js deleted file mode 100644 index 66a882b..0000000 --- a/test/mjsunit/runtime-gen/deleteproperty.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _object = new Object(); -var _key = "name"; -var _strict_mode = 1; -%DeleteProperty(_object, _key, _strict_mode); diff --git a/test/mjsunit/runtime-gen/deoptimizefunction.js b/test/mjsunit/runtime-gen/deoptimizefunction.js deleted file mode 100644 index ec5db2d..0000000 --- a/test/mjsunit/runtime-gen/deoptimizefunction.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _function = function() {}; -%DeoptimizeFunction(_function); diff --git a/test/mjsunit/runtime-gen/doublehi.js b/test/mjsunit/runtime-gen/doublehi.js deleted file mode 100644 index ac945dc..0000000 --- a/test/mjsunit/runtime-gen/doublehi.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%DoubleHi(_x); diff --git a/test/mjsunit/runtime-gen/doublelo.js b/test/mjsunit/runtime-gen/doublelo.js deleted file mode 100644 index 42c4c25..0000000 --- a/test/mjsunit/runtime-gen/doublelo.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%DoubleLo(_x); diff --git a/test/mjsunit/runtime-gen/enqueuemicrotask.js b/test/mjsunit/runtime-gen/enqueuemicrotask.js deleted file mode 100644 index 2f21667..0000000 --- a/test/mjsunit/runtime-gen/enqueuemicrotask.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _microtask = function() {}; -%EnqueueMicrotask(_microtask); diff --git a/test/mjsunit/runtime-gen/estimatenumberofelements.js b/test/mjsunit/runtime-gen/estimatenumberofelements.js deleted file mode 100644 index cf3b9b6..0000000 --- a/test/mjsunit/runtime-gen/estimatenumberofelements.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _array = new Array(); -%EstimateNumberOfElements(_array); diff --git a/test/mjsunit/runtime-gen/executeindebugcontext.js b/test/mjsunit/runtime-gen/executeindebugcontext.js deleted file mode 100644 index 18bfac9..0000000 --- a/test/mjsunit/runtime-gen/executeindebugcontext.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _function = function() {}; -var _without_debugger = true; -%ExecuteInDebugContext(_function, _without_debugger); diff --git a/test/mjsunit/runtime-gen/finisharrayprototypesetup.js b/test/mjsunit/runtime-gen/finisharrayprototypesetup.js deleted file mode 100644 index e4e8eab..0000000 --- a/test/mjsunit/runtime-gen/finisharrayprototypesetup.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _prototype = new Array(); -%FinishArrayPrototypeSetup(_prototype); diff --git a/test/mjsunit/runtime-gen/fix.js b/test/mjsunit/runtime-gen/fix.js deleted file mode 100644 index 010d2bc..0000000 --- a/test/mjsunit/runtime-gen/fix.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _proxy = Proxy.create({}); -%Fix(_proxy); diff --git a/test/mjsunit/runtime-gen/flattenstring.js b/test/mjsunit/runtime-gen/flattenstring.js deleted file mode 100644 index 3f0b38d..0000000 --- a/test/mjsunit/runtime-gen/flattenstring.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _str = "foo"; -%FlattenString(_str); diff --git a/test/mjsunit/runtime-gen/functiongetinferredname.js b/test/mjsunit/runtime-gen/functiongetinferredname.js deleted file mode 100644 index 8d76500..0000000 --- a/test/mjsunit/runtime-gen/functiongetinferredname.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionGetInferredName(_f); diff --git a/test/mjsunit/runtime-gen/functiongetname.js b/test/mjsunit/runtime-gen/functiongetname.js deleted file mode 100644 index ad23b11..0000000 --- a/test/mjsunit/runtime-gen/functiongetname.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionGetName(_f); diff --git a/test/mjsunit/runtime-gen/functiongetscript.js b/test/mjsunit/runtime-gen/functiongetscript.js deleted file mode 100644 index bd43644..0000000 --- a/test/mjsunit/runtime-gen/functiongetscript.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _fun = function() {}; -%FunctionGetScript(_fun); diff --git a/test/mjsunit/runtime-gen/functiongetscriptsourceposition.js b/test/mjsunit/runtime-gen/functiongetscriptsourceposition.js deleted file mode 100644 index eb462f9..0000000 --- a/test/mjsunit/runtime-gen/functiongetscriptsourceposition.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _fun = function() {}; -%FunctionGetScriptSourcePosition(_fun); diff --git a/test/mjsunit/runtime-gen/functiongetsourcecode.js b/test/mjsunit/runtime-gen/functiongetsourcecode.js deleted file mode 100644 index b9de88a..0000000 --- a/test/mjsunit/runtime-gen/functiongetsourcecode.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionGetSourceCode(_f); diff --git a/test/mjsunit/runtime-gen/functionisapifunction.js b/test/mjsunit/runtime-gen/functionisapifunction.js deleted file mode 100644 index 7fb8a21..0000000 --- a/test/mjsunit/runtime-gen/functionisapifunction.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionIsAPIFunction(_f); diff --git a/test/mjsunit/runtime-gen/functionisarrow.js b/test/mjsunit/runtime-gen/functionisarrow.js deleted file mode 100644 index 08410b4..0000000 --- a/test/mjsunit/runtime-gen/functionisarrow.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = () => null; -%FunctionIsArrow(arg0); diff --git a/test/mjsunit/runtime-gen/functionisbuiltin.js b/test/mjsunit/runtime-gen/functionisbuiltin.js deleted file mode 100644 index a8dd6c6..0000000 --- a/test/mjsunit/runtime-gen/functionisbuiltin.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionIsBuiltin(_f); diff --git a/test/mjsunit/runtime-gen/functionisgenerator.js b/test/mjsunit/runtime-gen/functionisgenerator.js deleted file mode 100644 index 8be6aab..0000000 --- a/test/mjsunit/runtime-gen/functionisgenerator.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionIsGenerator(_f); diff --git a/test/mjsunit/runtime-gen/functionmarknameshouldprintasanonymous.js b/test/mjsunit/runtime-gen/functionmarknameshouldprintasanonymous.js deleted file mode 100644 index 74f18e2..0000000 --- a/test/mjsunit/runtime-gen/functionmarknameshouldprintasanonymous.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionMarkNameShouldPrintAsAnonymous(_f); diff --git a/test/mjsunit/runtime-gen/functionnameshouldprintasanonymous.js b/test/mjsunit/runtime-gen/functionnameshouldprintasanonymous.js deleted file mode 100644 index aa5bcdd..0000000 --- a/test/mjsunit/runtime-gen/functionnameshouldprintasanonymous.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionNameShouldPrintAsAnonymous(_f); diff --git a/test/mjsunit/runtime-gen/functionremoveprototype.js b/test/mjsunit/runtime-gen/functionremoveprototype.js deleted file mode 100644 index a7ec5f5..0000000 --- a/test/mjsunit/runtime-gen/functionremoveprototype.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _f = function() {}; -%FunctionRemovePrototype(_f); diff --git a/test/mjsunit/runtime-gen/functionsetinstanceclassname.js b/test/mjsunit/runtime-gen/functionsetinstanceclassname.js deleted file mode 100644 index 6986a15..0000000 --- a/test/mjsunit/runtime-gen/functionsetinstanceclassname.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _fun = function() {}; -var _name = "foo"; -%FunctionSetInstanceClassName(_fun, _name); diff --git a/test/mjsunit/runtime-gen/functionsetlength.js b/test/mjsunit/runtime-gen/functionsetlength.js deleted file mode 100644 index 5582e82..0000000 --- a/test/mjsunit/runtime-gen/functionsetlength.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _fun = function() {}; -var _length = 1; -%FunctionSetLength(_fun, _length); diff --git a/test/mjsunit/runtime-gen/functionsetname.js b/test/mjsunit/runtime-gen/functionsetname.js deleted file mode 100644 index 0d44b20..0000000 --- a/test/mjsunit/runtime-gen/functionsetname.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _f = function() {}; -var _name = "foo"; -%FunctionSetName(_f, _name); diff --git a/test/mjsunit/runtime-gen/functionsetprototype.js b/test/mjsunit/runtime-gen/functionsetprototype.js deleted file mode 100644 index eb69ea8..0000000 --- a/test/mjsunit/runtime-gen/functionsetprototype.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _fun = function() {}; -var _value = new Object(); -%FunctionSetPrototype(_fun, _value); diff --git a/test/mjsunit/runtime-gen/getallscopesdetails.js b/test/mjsunit/runtime-gen/getallscopesdetails.js deleted file mode 100644 index 97ad7cb..0000000 --- a/test/mjsunit/runtime-gen/getallscopesdetails.js +++ /dev/null @@ -1,10 +0,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 --harmony-proxies -var _break_id = 32; -var _wrapped_id = 1; -var _inlined_jsframe_index = 32; -var _flag = true; -try { -%GetAllScopesDetails(_break_id, _wrapped_id, _inlined_jsframe_index, _flag); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getargumentsproperty.js b/test/mjsunit/runtime-gen/getargumentsproperty.js deleted file mode 100644 index 646e56b..0000000 --- a/test/mjsunit/runtime-gen/getargumentsproperty.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _raw_key = new Object(); -%GetArgumentsProperty(_raw_key); diff --git a/test/mjsunit/runtime-gen/getarraykeys.js b/test/mjsunit/runtime-gen/getarraykeys.js deleted file mode 100644 index 341faa6..0000000 --- a/test/mjsunit/runtime-gen/getarraykeys.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _array = new Object(); -var _length = 32; -%GetArrayKeys(_array, _length); diff --git a/test/mjsunit/runtime-gen/getbreaklocations.js b/test/mjsunit/runtime-gen/getbreaklocations.js deleted file mode 100644 index d31fa15..0000000 --- a/test/mjsunit/runtime-gen/getbreaklocations.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _fun = function() {}; -var arg1 = 0; -%GetBreakLocations(_fun, arg1); diff --git a/test/mjsunit/runtime-gen/getcalltrap.js b/test/mjsunit/runtime-gen/getcalltrap.js deleted file mode 100644 index 406af9f..0000000 --- a/test/mjsunit/runtime-gen/getcalltrap.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _proxy = Proxy.createFunction({}, function() {}); -%GetCallTrap(_proxy); diff --git a/test/mjsunit/runtime-gen/getconstructordelegate.js b/test/mjsunit/runtime-gen/getconstructordelegate.js deleted file mode 100644 index 6d01415..0000000 --- a/test/mjsunit/runtime-gen/getconstructordelegate.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%GetConstructorDelegate(_object); diff --git a/test/mjsunit/runtime-gen/getconstructtrap.js b/test/mjsunit/runtime-gen/getconstructtrap.js deleted file mode 100644 index 116d301..0000000 --- a/test/mjsunit/runtime-gen/getconstructtrap.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _proxy = Proxy.createFunction({}, function() {}); -%GetConstructTrap(_proxy); diff --git a/test/mjsunit/runtime-gen/getdataproperty.js b/test/mjsunit/runtime-gen/getdataproperty.js deleted file mode 100644 index 59cfba5..0000000 --- a/test/mjsunit/runtime-gen/getdataproperty.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _object = new Object(); -var _key = "name"; -%GetDataProperty(_object, _key); diff --git a/test/mjsunit/runtime-gen/getdefaulticulocale.js b/test/mjsunit/runtime-gen/getdefaulticulocale.js deleted file mode 100644 index 920f256..0000000 --- a/test/mjsunit/runtime-gen/getdefaulticulocale.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%GetDefaultICULocale(); diff --git a/test/mjsunit/runtime-gen/getdefaultreceiver.js b/test/mjsunit/runtime-gen/getdefaultreceiver.js deleted file mode 100644 index 1d5b1cb..0000000 --- a/test/mjsunit/runtime-gen/getdefaultreceiver.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = function() {}; -%GetDefaultReceiver(arg0); diff --git a/test/mjsunit/runtime-gen/getframecount.js b/test/mjsunit/runtime-gen/getframecount.js deleted file mode 100644 index a958efc..0000000 --- a/test/mjsunit/runtime-gen/getframecount.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _break_id = 32; -try { -%GetFrameCount(_break_id); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getframedetails.js b/test/mjsunit/runtime-gen/getframedetails.js deleted file mode 100644 index 1138424..0000000 --- a/test/mjsunit/runtime-gen/getframedetails.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _break_id = 32; -var _index = 32; -try { -%GetFrameDetails(_break_id, _index); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getfunctioncodepositionfromsource.js b/test/mjsunit/runtime-gen/getfunctioncodepositionfromsource.js deleted file mode 100644 index 473b263..0000000 --- a/test/mjsunit/runtime-gen/getfunctioncodepositionfromsource.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _function = function() {}; -var _source_position = 32; -%GetFunctionCodePositionFromSource(_function, _source_position); diff --git a/test/mjsunit/runtime-gen/getfunctiondelegate.js b/test/mjsunit/runtime-gen/getfunctiondelegate.js deleted file mode 100644 index 4d02ec2..0000000 --- a/test/mjsunit/runtime-gen/getfunctiondelegate.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%GetFunctionDelegate(_object); diff --git a/test/mjsunit/runtime-gen/getfunctionscopecount.js b/test/mjsunit/runtime-gen/getfunctionscopecount.js deleted file mode 100644 index fb854cf..0000000 --- a/test/mjsunit/runtime-gen/getfunctionscopecount.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _fun = function() {}; -%GetFunctionScopeCount(_fun); diff --git a/test/mjsunit/runtime-gen/getfunctionscopedetails.js b/test/mjsunit/runtime-gen/getfunctionscopedetails.js deleted file mode 100644 index c243140..0000000 --- a/test/mjsunit/runtime-gen/getfunctionscopedetails.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _fun = function() {}; -var _index = 32; -%GetFunctionScopeDetails(_fun, _index); diff --git a/test/mjsunit/runtime-gen/gethandler.js b/test/mjsunit/runtime-gen/gethandler.js deleted file mode 100644 index ea982cb..0000000 --- a/test/mjsunit/runtime-gen/gethandler.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _proxy = Proxy.create({}); -%GetHandler(_proxy); diff --git a/test/mjsunit/runtime-gen/getheapusage.js b/test/mjsunit/runtime-gen/getheapusage.js deleted file mode 100644 index cb174b7..0000000 --- a/test/mjsunit/runtime-gen/getheapusage.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%GetHeapUsage(); diff --git a/test/mjsunit/runtime-gen/getimplfrominitializedintlobject.js b/test/mjsunit/runtime-gen/getimplfrominitializedintlobject.js deleted file mode 100644 index 899ba88..0000000 --- a/test/mjsunit/runtime-gen/getimplfrominitializedintlobject.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = new Intl.NumberFormat('en-US'); -%GetImplFromInitializedIntlObject(arg0); diff --git a/test/mjsunit/runtime-gen/getindexedinterceptorelementnames.js b/test/mjsunit/runtime-gen/getindexedinterceptorelementnames.js deleted file mode 100644 index 8a83f0a..0000000 --- a/test/mjsunit/runtime-gen/getindexedinterceptorelementnames.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%GetIndexedInterceptorElementNames(_obj); diff --git a/test/mjsunit/runtime-gen/getinterceptorinfo.js b/test/mjsunit/runtime-gen/getinterceptorinfo.js deleted file mode 100644 index b33ba64..0000000 --- a/test/mjsunit/runtime-gen/getinterceptorinfo.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%GetInterceptorInfo(_obj); diff --git a/test/mjsunit/runtime-gen/getlanguagetagvariants.js b/test/mjsunit/runtime-gen/getlanguagetagvariants.js deleted file mode 100644 index 0ecfee5..0000000 --- a/test/mjsunit/runtime-gen/getlanguagetagvariants.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _input = new Array(); -%GetLanguageTagVariants(_input); diff --git a/test/mjsunit/runtime-gen/getnamedinterceptorpropertynames.js b/test/mjsunit/runtime-gen/getnamedinterceptorpropertynames.js deleted file mode 100644 index 0dee531..0000000 --- a/test/mjsunit/runtime-gen/getnamedinterceptorpropertynames.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%GetNamedInterceptorPropertyNames(_obj); diff --git a/test/mjsunit/runtime-gen/getobjectcontextnotifierperformchange.js b/test/mjsunit/runtime-gen/getobjectcontextnotifierperformchange.js deleted file mode 100644 index 2960ace..0000000 --- a/test/mjsunit/runtime-gen/getobjectcontextnotifierperformchange.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object_info = new Object(); -%GetObjectContextNotifierPerformChange(_object_info); diff --git a/test/mjsunit/runtime-gen/getobjectcontextobjectgetnotifier.js b/test/mjsunit/runtime-gen/getobjectcontextobjectgetnotifier.js deleted file mode 100644 index d6a0430..0000000 --- a/test/mjsunit/runtime-gen/getobjectcontextobjectgetnotifier.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%GetObjectContextObjectGetNotifier(_object); diff --git a/test/mjsunit/runtime-gen/getobjectcontextobjectobserve.js b/test/mjsunit/runtime-gen/getobjectcontextobjectobserve.js deleted file mode 100644 index f1669e7..0000000 --- a/test/mjsunit/runtime-gen/getobjectcontextobjectobserve.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%GetObjectContextObjectObserve(_object); diff --git a/test/mjsunit/runtime-gen/getobservationstate.js b/test/mjsunit/runtime-gen/getobservationstate.js deleted file mode 100644 index 429cdcd..0000000 --- a/test/mjsunit/runtime-gen/getobservationstate.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%GetObservationState(); diff --git a/test/mjsunit/runtime-gen/getoptimizationcount.js b/test/mjsunit/runtime-gen/getoptimizationcount.js deleted file mode 100644 index da1ab9e..0000000 --- a/test/mjsunit/runtime-gen/getoptimizationcount.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _function = function() {}; -%GetOptimizationCount(_function); diff --git a/test/mjsunit/runtime-gen/getownelementnames.js b/test/mjsunit/runtime-gen/getownelementnames.js deleted file mode 100644 index 54d9a69..0000000 --- a/test/mjsunit/runtime-gen/getownelementnames.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%GetOwnElementNames(_obj); diff --git a/test/mjsunit/runtime-gen/getownproperty.js b/test/mjsunit/runtime-gen/getownproperty.js deleted file mode 100644 index 1e5a808..0000000 --- a/test/mjsunit/runtime-gen/getownproperty.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _obj = new Object(); -var _name = "name"; -%GetOwnProperty(_obj, _name); diff --git a/test/mjsunit/runtime-gen/getownpropertynames.js b/test/mjsunit/runtime-gen/getownpropertynames.js deleted file mode 100644 index 10f7f2c..0000000 --- a/test/mjsunit/runtime-gen/getownpropertynames.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _obj = new Object(); -var _filter_value = 1; -%GetOwnPropertyNames(_obj, _filter_value); diff --git a/test/mjsunit/runtime-gen/getproperty.js b/test/mjsunit/runtime-gen/getproperty.js deleted file mode 100644 index 569189a..0000000 --- a/test/mjsunit/runtime-gen/getproperty.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _object = new Object(); -var _key = new Object(); -%GetProperty(_object, _key); diff --git a/test/mjsunit/runtime-gen/getpropertynames.js b/test/mjsunit/runtime-gen/getpropertynames.js deleted file mode 100644 index ad94eed..0000000 --- a/test/mjsunit/runtime-gen/getpropertynames.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%GetPropertyNames(_object); diff --git a/test/mjsunit/runtime-gen/getpropertynamesfast.js b/test/mjsunit/runtime-gen/getpropertynamesfast.js deleted file mode 100644 index c2d14cb..0000000 --- a/test/mjsunit/runtime-gen/getpropertynamesfast.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _raw_object = new Object(); -%GetPropertyNamesFast(_raw_object); diff --git a/test/mjsunit/runtime-gen/getprototype.js b/test/mjsunit/runtime-gen/getprototype.js deleted file mode 100644 index b9ef1f9..0000000 --- a/test/mjsunit/runtime-gen/getprototype.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%GetPrototype(_obj); diff --git a/test/mjsunit/runtime-gen/getrootnan.js b/test/mjsunit/runtime-gen/getrootnan.js deleted file mode 100644 index b6df0fd..0000000 --- a/test/mjsunit/runtime-gen/getrootnan.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -try { -%GetRootNaN(); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getscopecount.js b/test/mjsunit/runtime-gen/getscopecount.js deleted file mode 100644 index d53bece..0000000 --- a/test/mjsunit/runtime-gen/getscopecount.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _break_id = 32; -var _wrapped_id = 1; -try { -%GetScopeCount(_break_id, _wrapped_id); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getscopedetails.js b/test/mjsunit/runtime-gen/getscopedetails.js deleted file mode 100644 index 4ea28ac..0000000 --- a/test/mjsunit/runtime-gen/getscopedetails.js +++ /dev/null @@ -1,10 +0,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 --harmony-proxies -var _break_id = 32; -var _wrapped_id = 1; -var _inlined_jsframe_index = 32; -var _index = 32; -try { -%GetScopeDetails(_break_id, _wrapped_id, _inlined_jsframe_index, _index); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getscript.js b/test/mjsunit/runtime-gen/getscript.js deleted file mode 100644 index cae0087..0000000 --- a/test/mjsunit/runtime-gen/getscript.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _script_name = "foo"; -%GetScript(_script_name); diff --git a/test/mjsunit/runtime-gen/getstepinpositions.js b/test/mjsunit/runtime-gen/getstepinpositions.js deleted file mode 100644 index 221c586..0000000 --- a/test/mjsunit/runtime-gen/getstepinpositions.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _break_id = 32; -var _wrapped_id = 1; -try { -%GetStepInPositions(_break_id, _wrapped_id); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/gettemplatefield.js b/test/mjsunit/runtime-gen/gettemplatefield.js deleted file mode 100644 index 16d3824..0000000 --- a/test/mjsunit/runtime-gen/gettemplatefield.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _templ = new Object(); -var _index = 1; -try { -%GetTemplateField(_templ, _index); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getthreadcount.js b/test/mjsunit/runtime-gen/getthreadcount.js deleted file mode 100644 index 5037066..0000000 --- a/test/mjsunit/runtime-gen/getthreadcount.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _break_id = 32; -try { -%GetThreadCount(_break_id); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getthreaddetails.js b/test/mjsunit/runtime-gen/getthreaddetails.js deleted file mode 100644 index 6fc0d14..0000000 --- a/test/mjsunit/runtime-gen/getthreaddetails.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _break_id = 32; -var _index = 32; -try { -%GetThreadDetails(_break_id, _index); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/getv8version.js b/test/mjsunit/runtime-gen/getv8version.js deleted file mode 100644 index e311eef..0000000 --- a/test/mjsunit/runtime-gen/getv8version.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%GetV8Version(); diff --git a/test/mjsunit/runtime-gen/getweakmapentries.js b/test/mjsunit/runtime-gen/getweakmapentries.js deleted file mode 100644 index ced728d..0000000 --- a/test/mjsunit/runtime-gen/getweakmapentries.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new WeakMap(); -%GetWeakMapEntries(_holder); diff --git a/test/mjsunit/runtime-gen/getweaksetvalues.js b/test/mjsunit/runtime-gen/getweaksetvalues.js deleted file mode 100644 index 650c947..0000000 --- a/test/mjsunit/runtime-gen/getweaksetvalues.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new WeakMap(); -%GetWeakSetValues(_holder); diff --git a/test/mjsunit/runtime-gen/globalprint.js b/test/mjsunit/runtime-gen/globalprint.js deleted file mode 100644 index 059f08e..0000000 --- a/test/mjsunit/runtime-gen/globalprint.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _string = "foo"; -%GlobalPrint(_string); diff --git a/test/mjsunit/runtime-gen/globalproxy.js b/test/mjsunit/runtime-gen/globalproxy.js deleted file mode 100644 index 80e500c..0000000 --- a/test/mjsunit/runtime-gen/globalproxy.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _global = new Object(); -%GlobalProxy(_global); diff --git a/test/mjsunit/runtime-gen/haselement.js b/test/mjsunit/runtime-gen/haselement.js deleted file mode 100644 index 3d32ac5..0000000 --- a/test/mjsunit/runtime-gen/haselement.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _receiver = new Object(); -var _index = 1; -%HasElement(_receiver, _index); diff --git a/test/mjsunit/runtime-gen/hasownproperty.js b/test/mjsunit/runtime-gen/hasownproperty.js deleted file mode 100644 index 7443bff..0000000 --- a/test/mjsunit/runtime-gen/hasownproperty.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _object = new Object(); -var _key = "name"; -%HasOwnProperty(_object, _key); diff --git a/test/mjsunit/runtime-gen/hasproperty.js b/test/mjsunit/runtime-gen/hasproperty.js deleted file mode 100644 index df4de8e..0000000 --- a/test/mjsunit/runtime-gen/hasproperty.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _receiver = new Object(); -var _key = "name"; -%HasProperty(_receiver, _key); diff --git a/test/mjsunit/runtime-gen/havesamemap.js b/test/mjsunit/runtime-gen/havesamemap.js deleted file mode 100644 index b399d17..0000000 --- a/test/mjsunit/runtime-gen/havesamemap.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _obj1 = new Object(); -var _obj2 = new Object(); -%HaveSameMap(_obj1, _obj2); diff --git a/test/mjsunit/runtime-gen/homeobjectsymbol.js b/test/mjsunit/runtime-gen/homeobjectsymbol.js deleted file mode 100644 index 674fc0e..0000000 --- a/test/mjsunit/runtime-gen/homeobjectsymbol.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%HomeObjectSymbol(); diff --git a/test/mjsunit/runtime-gen/internalcompare.js b/test/mjsunit/runtime-gen/internalcompare.js deleted file mode 100644 index 95cc006..0000000 --- a/test/mjsunit/runtime-gen/internalcompare.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.Collator('en-US')); -var _string1 = "foo"; -var _string2 = "foo"; -%InternalCompare(arg0, _string1, _string2); diff --git a/test/mjsunit/runtime-gen/internaldateformat.js b/test/mjsunit/runtime-gen/internaldateformat.js deleted file mode 100644 index 933714e..0000000 --- a/test/mjsunit/runtime-gen/internaldateformat.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.DateTimeFormat('en-US')); -var _date = new Date(); -%InternalDateFormat(arg0, _date); diff --git a/test/mjsunit/runtime-gen/internaldateparse.js b/test/mjsunit/runtime-gen/internaldateparse.js deleted file mode 100644 index be8c49a..0000000 --- a/test/mjsunit/runtime-gen/internaldateparse.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.DateTimeFormat('en-US')); -var _date_string = "foo"; -%InternalDateParse(arg0, _date_string); diff --git a/test/mjsunit/runtime-gen/internalnumberformat.js b/test/mjsunit/runtime-gen/internalnumberformat.js deleted file mode 100644 index cd21edc..0000000 --- a/test/mjsunit/runtime-gen/internalnumberformat.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.NumberFormat('en-US')); -var _number = new Object(); -%InternalNumberFormat(arg0, _number); diff --git a/test/mjsunit/runtime-gen/internalnumberparse.js b/test/mjsunit/runtime-gen/internalnumberparse.js deleted file mode 100644 index cdbd322..0000000 --- a/test/mjsunit/runtime-gen/internalnumberparse.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var arg0 = %GetImplFromInitializedIntlObject(new Intl.NumberFormat('en-US')); -var _number_string = "foo"; -%InternalNumberParse(arg0, _number_string); diff --git a/test/mjsunit/runtime-gen/isattachedglobal.js b/test/mjsunit/runtime-gen/isattachedglobal.js deleted file mode 100644 index 9ead91a..0000000 --- a/test/mjsunit/runtime-gen/isattachedglobal.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _global = new Object(); -%IsAttachedGlobal(_global); diff --git a/test/mjsunit/runtime-gen/isbreakonexception.js b/test/mjsunit/runtime-gen/isbreakonexception.js deleted file mode 100644 index e55c7d0..0000000 --- a/test/mjsunit/runtime-gen/isbreakonexception.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _type_arg = 32; -%IsBreakOnException(_type_arg); diff --git a/test/mjsunit/runtime-gen/isconcurrentrecompilationsupported.js b/test/mjsunit/runtime-gen/isconcurrentrecompilationsupported.js deleted file mode 100644 index 44e2917..0000000 --- a/test/mjsunit/runtime-gen/isconcurrentrecompilationsupported.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%IsConcurrentRecompilationSupported(); diff --git a/test/mjsunit/runtime-gen/isextensible.js b/test/mjsunit/runtime-gen/isextensible.js deleted file mode 100644 index 20a7c8d..0000000 --- a/test/mjsunit/runtime-gen/isextensible.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%IsExtensible(_obj); diff --git a/test/mjsunit/runtime-gen/isinitializedintlobject.js b/test/mjsunit/runtime-gen/isinitializedintlobject.js deleted file mode 100644 index 2816e5e..0000000 --- a/test/mjsunit/runtime-gen/isinitializedintlobject.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _input = new Object(); -%IsInitializedIntlObject(_input); diff --git a/test/mjsunit/runtime-gen/isinitializedintlobjectoftype.js b/test/mjsunit/runtime-gen/isinitializedintlobjectoftype.js deleted file mode 100644 index 60e3850..0000000 --- a/test/mjsunit/runtime-gen/isinitializedintlobjectoftype.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _input = new Object(); -var _expected_type = "foo"; -%IsInitializedIntlObjectOfType(_input, _expected_type); diff --git a/test/mjsunit/runtime-gen/isinprototypechain.js b/test/mjsunit/runtime-gen/isinprototypechain.js deleted file mode 100644 index 3704834..0000000 --- a/test/mjsunit/runtime-gen/isinprototypechain.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _O = new Object(); -var _V = new Object(); -%IsInPrototypeChain(_O, _V); diff --git a/test/mjsunit/runtime-gen/isjsfunctionproxy.js b/test/mjsunit/runtime-gen/isjsfunctionproxy.js deleted file mode 100644 index ca6ea5a..0000000 --- a/test/mjsunit/runtime-gen/isjsfunctionproxy.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%IsJSFunctionProxy(_obj); diff --git a/test/mjsunit/runtime-gen/isjsglobalproxy.js b/test/mjsunit/runtime-gen/isjsglobalproxy.js deleted file mode 100644 index f0de610..0000000 --- a/test/mjsunit/runtime-gen/isjsglobalproxy.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%IsJSGlobalProxy(_obj); diff --git a/test/mjsunit/runtime-gen/isjsmodule.js b/test/mjsunit/runtime-gen/isjsmodule.js deleted file mode 100644 index 8b43a72..0000000 --- a/test/mjsunit/runtime-gen/isjsmodule.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%IsJSModule(_obj); diff --git a/test/mjsunit/runtime-gen/isjsproxy.js b/test/mjsunit/runtime-gen/isjsproxy.js deleted file mode 100644 index a4d32be..0000000 --- a/test/mjsunit/runtime-gen/isjsproxy.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%IsJSProxy(_obj); diff --git a/test/mjsunit/runtime-gen/isobserved.js b/test/mjsunit/runtime-gen/isobserved.js deleted file mode 100644 index f649a1b..0000000 --- a/test/mjsunit/runtime-gen/isobserved.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%IsObserved(_obj); diff --git a/test/mjsunit/runtime-gen/ispropertyenumerable.js b/test/mjsunit/runtime-gen/ispropertyenumerable.js deleted file mode 100644 index 575ee34..0000000 --- a/test/mjsunit/runtime-gen/ispropertyenumerable.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _object = new Object(); -var _key = "name"; -%IsPropertyEnumerable(_object, _key); diff --git a/test/mjsunit/runtime-gen/issloppymodefunction.js b/test/mjsunit/runtime-gen/issloppymodefunction.js deleted file mode 100644 index a0c75b3..0000000 --- a/test/mjsunit/runtime-gen/issloppymodefunction.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = function() {}; -%IsSloppyModeFunction(arg0); diff --git a/test/mjsunit/runtime-gen/istemplate.js b/test/mjsunit/runtime-gen/istemplate.js deleted file mode 100644 index 421229f..0000000 --- a/test/mjsunit/runtime-gen/istemplate.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _arg = new Object(); -%IsTemplate(_arg); diff --git a/test/mjsunit/runtime-gen/isvalidsmi.js b/test/mjsunit/runtime-gen/isvalidsmi.js deleted file mode 100644 index 98cf53b..0000000 --- a/test/mjsunit/runtime-gen/isvalidsmi.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _number = 32; -%IsValidSmi(_number); diff --git a/test/mjsunit/runtime-gen/keyedgetproperty.js b/test/mjsunit/runtime-gen/keyedgetproperty.js deleted file mode 100644 index cd8473c..0000000 --- a/test/mjsunit/runtime-gen/keyedgetproperty.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _receiver_obj = new Object(); -var _key_obj = new Object(); -%KeyedGetProperty(_receiver_obj, _key_obj); diff --git a/test/mjsunit/runtime-gen/liveeditcheckanddropactivations.js b/test/mjsunit/runtime-gen/liveeditcheckanddropactivations.js deleted file mode 100644 index 7247acc..0000000 --- a/test/mjsunit/runtime-gen/liveeditcheckanddropactivations.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _shared_array = new Array(); -var _do_drop = true; -%LiveEditCheckAndDropActivations(_shared_array, _do_drop); diff --git a/test/mjsunit/runtime-gen/liveeditcomparestrings.js b/test/mjsunit/runtime-gen/liveeditcomparestrings.js deleted file mode 100644 index 611d78b..0000000 --- a/test/mjsunit/runtime-gen/liveeditcomparestrings.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _s1 = "foo"; -var _s2 = "foo"; -%LiveEditCompareStrings(_s1, _s2); diff --git a/test/mjsunit/runtime-gen/liveeditfunctionsetscript.js b/test/mjsunit/runtime-gen/liveeditfunctionsetscript.js deleted file mode 100644 index 51d61d3..0000000 --- a/test/mjsunit/runtime-gen/liveeditfunctionsetscript.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _function_object = new Object(); -var _script_object = new Object(); -%LiveEditFunctionSetScript(_function_object, _script_object); diff --git a/test/mjsunit/runtime-gen/lookupaccessor.js b/test/mjsunit/runtime-gen/lookupaccessor.js deleted file mode 100644 index 89f40d7..0000000 --- a/test/mjsunit/runtime-gen/lookupaccessor.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _receiver = new Object(); -var _name = "name"; -var _flag = 1; -%LookupAccessor(_receiver, _name, _flag); diff --git a/test/mjsunit/runtime-gen/mapclear.js b/test/mjsunit/runtime-gen/mapclear.js deleted file mode 100644 index b34e694..0000000 --- a/test/mjsunit/runtime-gen/mapclear.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Map(); -%MapClear(_holder); diff --git a/test/mjsunit/runtime-gen/mapdelete.js b/test/mjsunit/runtime-gen/mapdelete.js deleted file mode 100644 index ab78954..0000000 --- a/test/mjsunit/runtime-gen/mapdelete.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Map(); -var _key = new Object(); -%MapDelete(_holder, _key); diff --git a/test/mjsunit/runtime-gen/mapget.js b/test/mjsunit/runtime-gen/mapget.js deleted file mode 100644 index 0e996f5..0000000 --- a/test/mjsunit/runtime-gen/mapget.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Map(); -var _key = new Object(); -%MapGet(_holder, _key); diff --git a/test/mjsunit/runtime-gen/mapgetsize.js b/test/mjsunit/runtime-gen/mapgetsize.js deleted file mode 100644 index 50a0604..0000000 --- a/test/mjsunit/runtime-gen/mapgetsize.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Map(); -%MapGetSize(_holder); diff --git a/test/mjsunit/runtime-gen/maphas.js b/test/mjsunit/runtime-gen/maphas.js deleted file mode 100644 index 2dc70c9..0000000 --- a/test/mjsunit/runtime-gen/maphas.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Map(); -var _key = new Object(); -%MapHas(_holder, _key); diff --git a/test/mjsunit/runtime-gen/mapinitialize.js b/test/mjsunit/runtime-gen/mapinitialize.js deleted file mode 100644 index 6240a02..0000000 --- a/test/mjsunit/runtime-gen/mapinitialize.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Map(); -%MapInitialize(_holder); diff --git a/test/mjsunit/runtime-gen/mapiteratorinitialize.js b/test/mjsunit/runtime-gen/mapiteratorinitialize.js deleted file mode 100644 index 584fe18..0000000 --- a/test/mjsunit/runtime-gen/mapiteratorinitialize.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new Map().entries(); -var _map = new Map(); -var _kind = 1; -%MapIteratorInitialize(_holder, _map, _kind); diff --git a/test/mjsunit/runtime-gen/mapiteratornext.js b/test/mjsunit/runtime-gen/mapiteratornext.js deleted file mode 100644 index e155227..0000000 --- a/test/mjsunit/runtime-gen/mapiteratornext.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Map().entries(); -var _value_array = new Array(); -%MapIteratorNext(_holder, _value_array); diff --git a/test/mjsunit/runtime-gen/mapset.js b/test/mjsunit/runtime-gen/mapset.js deleted file mode 100644 index 32c2080..0000000 --- a/test/mjsunit/runtime-gen/mapset.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new Map(); -var _key = new Object(); -var _value = new Object(); -%MapSet(_holder, _key, _value); diff --git a/test/mjsunit/runtime-gen/markasinitializedintlobjectoftype.js b/test/mjsunit/runtime-gen/markasinitializedintlobjectoftype.js deleted file mode 100644 index bd0c581..0000000 --- a/test/mjsunit/runtime-gen/markasinitializedintlobjectoftype.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _input = new Object(); -var _type = "foo"; -var _impl = new Object(); -%MarkAsInitializedIntlObjectOfType(_input, _type, _impl); diff --git a/test/mjsunit/runtime-gen/mathacos.js b/test/mjsunit/runtime-gen/mathacos.js deleted file mode 100644 index fa44268..0000000 --- a/test/mjsunit/runtime-gen/mathacos.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathAcos(_x); diff --git a/test/mjsunit/runtime-gen/mathasin.js b/test/mjsunit/runtime-gen/mathasin.js deleted file mode 100644 index 0d20b31..0000000 --- a/test/mjsunit/runtime-gen/mathasin.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathAsin(_x); diff --git a/test/mjsunit/runtime-gen/mathatan.js b/test/mjsunit/runtime-gen/mathatan.js deleted file mode 100644 index 0e2708f..0000000 --- a/test/mjsunit/runtime-gen/mathatan.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathAtan(_x); diff --git a/test/mjsunit/runtime-gen/mathatan2.js b/test/mjsunit/runtime-gen/mathatan2.js deleted file mode 100644 index 4294797..0000000 --- a/test/mjsunit/runtime-gen/mathatan2.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -%MathAtan2(_x, _y); diff --git a/test/mjsunit/runtime-gen/mathexprt.js b/test/mjsunit/runtime-gen/mathexprt.js deleted file mode 100644 index e458436..0000000 --- a/test/mjsunit/runtime-gen/mathexprt.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathExpRT(_x); diff --git a/test/mjsunit/runtime-gen/mathfloorrt.js b/test/mjsunit/runtime-gen/mathfloorrt.js deleted file mode 100644 index 2ae83aa..0000000 --- a/test/mjsunit/runtime-gen/mathfloorrt.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathFloorRT(_x); diff --git a/test/mjsunit/runtime-gen/mathfround.js b/test/mjsunit/runtime-gen/mathfround.js deleted file mode 100644 index 10a9298..0000000 --- a/test/mjsunit/runtime-gen/mathfround.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathFround(_x); diff --git a/test/mjsunit/runtime-gen/mathlogrt.js b/test/mjsunit/runtime-gen/mathlogrt.js deleted file mode 100644 index 5c484cb..0000000 --- a/test/mjsunit/runtime-gen/mathlogrt.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathLogRT(_x); diff --git a/test/mjsunit/runtime-gen/mathsqrtrt.js b/test/mjsunit/runtime-gen/mathsqrtrt.js deleted file mode 100644 index e0df8d7..0000000 --- a/test/mjsunit/runtime-gen/mathsqrtrt.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%MathSqrtRT(_x); diff --git a/test/mjsunit/runtime-gen/maxsmi.js b/test/mjsunit/runtime-gen/maxsmi.js deleted file mode 100644 index 717a654..0000000 --- a/test/mjsunit/runtime-gen/maxsmi.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%MaxSmi(); diff --git a/test/mjsunit/runtime-gen/movearraycontents.js b/test/mjsunit/runtime-gen/movearraycontents.js deleted file mode 100644 index 41c4ee1..0000000 --- a/test/mjsunit/runtime-gen/movearraycontents.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _from = new Array(); -var _to = new Array(); -%MoveArrayContents(_from, _to); diff --git a/test/mjsunit/runtime-gen/neveroptimizefunction.js b/test/mjsunit/runtime-gen/neveroptimizefunction.js deleted file mode 100644 index b03e42f..0000000 --- a/test/mjsunit/runtime-gen/neveroptimizefunction.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _function = function() {}; -%NeverOptimizeFunction(_function); diff --git a/test/mjsunit/runtime-gen/newarguments.js b/test/mjsunit/runtime-gen/newarguments.js deleted file mode 100644 index 908fc3a..0000000 --- a/test/mjsunit/runtime-gen/newarguments.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _callee = function() {}; -%NewArguments(_callee); diff --git a/test/mjsunit/runtime-gen/newobjectfrombound.js b/test/mjsunit/runtime-gen/newobjectfrombound.js deleted file mode 100644 index 36f75077..0000000 --- a/test/mjsunit/runtime-gen/newobjectfrombound.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = (function() {}).bind({}); -%NewObjectFromBound(arg0); diff --git a/test/mjsunit/runtime-gen/newstringwrapper.js b/test/mjsunit/runtime-gen/newstringwrapper.js deleted file mode 100644 index cf53a3a..0000000 --- a/test/mjsunit/runtime-gen/newstringwrapper.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _value = "foo"; -%NewStringWrapper(_value); diff --git a/test/mjsunit/runtime-gen/newsymbolwrapper.js b/test/mjsunit/runtime-gen/newsymbolwrapper.js deleted file mode 100644 index 08c0ea7..0000000 --- a/test/mjsunit/runtime-gen/newsymbolwrapper.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _symbol = Symbol("symbol"); -%NewSymbolWrapper(_symbol); diff --git a/test/mjsunit/runtime-gen/notifycontextdisposed.js b/test/mjsunit/runtime-gen/notifycontextdisposed.js deleted file mode 100644 index d353fc5..0000000 --- a/test/mjsunit/runtime-gen/notifycontextdisposed.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%NotifyContextDisposed(); diff --git a/test/mjsunit/runtime-gen/numberadd.js b/test/mjsunit/runtime-gen/numberadd.js deleted file mode 100644 index f85017d..0000000 --- a/test/mjsunit/runtime-gen/numberadd.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -%NumberAdd(_x, _y); diff --git a/test/mjsunit/runtime-gen/numberand.js b/test/mjsunit/runtime-gen/numberand.js deleted file mode 100644 index 9635e11..0000000 --- a/test/mjsunit/runtime-gen/numberand.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 32; -var _y = 32; -%NumberAnd(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbercompare.js b/test/mjsunit/runtime-gen/numbercompare.js deleted file mode 100644 index 5f7ac93..0000000 --- a/test/mjsunit/runtime-gen/numbercompare.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -var _uncomparable_result = new Object(); -%NumberCompare(_x, _y, _uncomparable_result); diff --git a/test/mjsunit/runtime-gen/numberdiv.js b/test/mjsunit/runtime-gen/numberdiv.js deleted file mode 100644 index c62d592..0000000 --- a/test/mjsunit/runtime-gen/numberdiv.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -%NumberDiv(_x, _y); diff --git a/test/mjsunit/runtime-gen/numberequals.js b/test/mjsunit/runtime-gen/numberequals.js deleted file mode 100644 index 3b919fc..0000000 --- a/test/mjsunit/runtime-gen/numberequals.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -%NumberEquals(_x, _y); diff --git a/test/mjsunit/runtime-gen/numberimul.js b/test/mjsunit/runtime-gen/numberimul.js deleted file mode 100644 index f3c98bd..0000000 --- a/test/mjsunit/runtime-gen/numberimul.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 32; -var _y = 32; -%NumberImul(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbermod.js b/test/mjsunit/runtime-gen/numbermod.js deleted file mode 100644 index 6d5faeb..0000000 --- a/test/mjsunit/runtime-gen/numbermod.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -%NumberMod(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbermul.js b/test/mjsunit/runtime-gen/numbermul.js deleted file mode 100644 index 0bdc7c2..0000000 --- a/test/mjsunit/runtime-gen/numbermul.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -%NumberMul(_x, _y); diff --git a/test/mjsunit/runtime-gen/numberor.js b/test/mjsunit/runtime-gen/numberor.js deleted file mode 100644 index c5ac65f..0000000 --- a/test/mjsunit/runtime-gen/numberor.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 32; -var _y = 32; -%NumberOr(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbersar.js b/test/mjsunit/runtime-gen/numbersar.js deleted file mode 100644 index 639270a..0000000 --- a/test/mjsunit/runtime-gen/numbersar.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 32; -var _y = 32; -%NumberSar(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbershl.js b/test/mjsunit/runtime-gen/numbershl.js deleted file mode 100644 index b505ff6..0000000 --- a/test/mjsunit/runtime-gen/numbershl.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 32; -var _y = 32; -%NumberShl(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbershr.js b/test/mjsunit/runtime-gen/numbershr.js deleted file mode 100644 index bd1a3c4..0000000 --- a/test/mjsunit/runtime-gen/numbershr.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 32; -var _y = 32; -%NumberShr(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbersub.js b/test/mjsunit/runtime-gen/numbersub.js deleted file mode 100644 index 5c99f87..0000000 --- a/test/mjsunit/runtime-gen/numbersub.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 1.5; -var _y = 1.5; -%NumberSub(_x, _y); diff --git a/test/mjsunit/runtime-gen/numbertoexponential.js b/test/mjsunit/runtime-gen/numbertoexponential.js deleted file mode 100644 index 30159bb..0000000 --- a/test/mjsunit/runtime-gen/numbertoexponential.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _value = 1.5; -var _f_number = 1.5; -%NumberToExponential(_value, _f_number); diff --git a/test/mjsunit/runtime-gen/numbertofixed.js b/test/mjsunit/runtime-gen/numbertofixed.js deleted file mode 100644 index 0df1525..0000000 --- a/test/mjsunit/runtime-gen/numbertofixed.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _value = 1.5; -var _f_number = 1.5; -%NumberToFixed(_value, _f_number); diff --git a/test/mjsunit/runtime-gen/numbertointeger.js b/test/mjsunit/runtime-gen/numbertointeger.js deleted file mode 100644 index eada58f..0000000 --- a/test/mjsunit/runtime-gen/numbertointeger.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _number = 1.5; -%NumberToInteger(_number); diff --git a/test/mjsunit/runtime-gen/numbertointegermapminuszero.js b/test/mjsunit/runtime-gen/numbertointegermapminuszero.js deleted file mode 100644 index ce32480..0000000 --- a/test/mjsunit/runtime-gen/numbertointegermapminuszero.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _number = 1.5; -%NumberToIntegerMapMinusZero(_number); diff --git a/test/mjsunit/runtime-gen/numbertojsint32.js b/test/mjsunit/runtime-gen/numbertojsint32.js deleted file mode 100644 index 77321f9..0000000 --- a/test/mjsunit/runtime-gen/numbertojsint32.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _number = 1.5; -%NumberToJSInt32(_number); diff --git a/test/mjsunit/runtime-gen/numbertojsuint32.js b/test/mjsunit/runtime-gen/numbertojsuint32.js deleted file mode 100644 index d4f7302..0000000 --- a/test/mjsunit/runtime-gen/numbertojsuint32.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _number = 32; -%NumberToJSUint32(_number); diff --git a/test/mjsunit/runtime-gen/numbertoprecision.js b/test/mjsunit/runtime-gen/numbertoprecision.js deleted file mode 100644 index 6591117..0000000 --- a/test/mjsunit/runtime-gen/numbertoprecision.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _value = 1.5; -var _f_number = 1.5; -%NumberToPrecision(_value, _f_number); diff --git a/test/mjsunit/runtime-gen/numbertoradixstring.js b/test/mjsunit/runtime-gen/numbertoradixstring.js deleted file mode 100644 index 020aac2..0000000 --- a/test/mjsunit/runtime-gen/numbertoradixstring.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _value = 1.5; -var arg1 = 2; -%NumberToRadixString(_value, arg1); diff --git a/test/mjsunit/runtime-gen/numbertostringrt.js b/test/mjsunit/runtime-gen/numbertostringrt.js deleted file mode 100644 index 4b2b6d9..0000000 --- a/test/mjsunit/runtime-gen/numbertostringrt.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _number = 1.5; -%NumberToStringRT(_number); diff --git a/test/mjsunit/runtime-gen/numberunaryminus.js b/test/mjsunit/runtime-gen/numberunaryminus.js deleted file mode 100644 index 54dc49e..0000000 --- a/test/mjsunit/runtime-gen/numberunaryminus.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%NumberUnaryMinus(_x); diff --git a/test/mjsunit/runtime-gen/numberxor.js b/test/mjsunit/runtime-gen/numberxor.js deleted file mode 100644 index 2372698..0000000 --- a/test/mjsunit/runtime-gen/numberxor.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = 32; -var _y = 32; -%NumberXor(_x, _y); diff --git a/test/mjsunit/runtime-gen/objectfreeze.js b/test/mjsunit/runtime-gen/objectfreeze.js deleted file mode 100644 index cfc066c..0000000 --- a/test/mjsunit/runtime-gen/objectfreeze.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%ObjectFreeze(_object); diff --git a/test/mjsunit/runtime-gen/objectwascreatedincurrentorigin.js b/test/mjsunit/runtime-gen/objectwascreatedincurrentorigin.js deleted file mode 100644 index 7769970..0000000 --- a/test/mjsunit/runtime-gen/objectwascreatedincurrentorigin.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%ObjectWasCreatedInCurrentOrigin(_object); diff --git a/test/mjsunit/runtime-gen/observationweakmapcreate.js b/test/mjsunit/runtime-gen/observationweakmapcreate.js deleted file mode 100644 index 6c71eac..0000000 --- a/test/mjsunit/runtime-gen/observationweakmapcreate.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%ObservationWeakMapCreate(); diff --git a/test/mjsunit/runtime-gen/observerobjectandrecordhavesameorigin.js b/test/mjsunit/runtime-gen/observerobjectandrecordhavesameorigin.js deleted file mode 100644 index 6c251ec..0000000 --- a/test/mjsunit/runtime-gen/observerobjectandrecordhavesameorigin.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _observer = function() {}; -var _object = new Object(); -var _record = new Object(); -%ObserverObjectAndRecordHaveSameOrigin(_observer, _object, _record); diff --git a/test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js b/test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js deleted file mode 100644 index 7016e1c..0000000 --- a/test/mjsunit/runtime-gen/optimizeobjectforaddingmultipleproperties.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _object = new Object(); -var _properties = 1; -%OptimizeObjectForAddingMultipleProperties(_object, _properties); diff --git a/test/mjsunit/runtime-gen/ownkeys.js b/test/mjsunit/runtime-gen/ownkeys.js deleted file mode 100644 index 0a39242..0000000 --- a/test/mjsunit/runtime-gen/ownkeys.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _raw_object = new Object(); -%OwnKeys(_raw_object); diff --git a/test/mjsunit/runtime-gen/parsejson.js b/test/mjsunit/runtime-gen/parsejson.js deleted file mode 100644 index 0a03879..0000000 --- a/test/mjsunit/runtime-gen/parsejson.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var arg0 = "{}"; -%ParseJson(arg0); diff --git a/test/mjsunit/runtime-gen/preventextensions.js b/test/mjsunit/runtime-gen/preventextensions.js deleted file mode 100644 index 8e24b75..0000000 --- a/test/mjsunit/runtime-gen/preventextensions.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%PreventExtensions(_obj); diff --git a/test/mjsunit/runtime-gen/pushifabsent.js b/test/mjsunit/runtime-gen/pushifabsent.js deleted file mode 100644 index c998121..0000000 --- a/test/mjsunit/runtime-gen/pushifabsent.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _array = new Array(); -var _element = new Object(); -%PushIfAbsent(_array, _element); diff --git a/test/mjsunit/runtime-gen/quotejsonstring.js b/test/mjsunit/runtime-gen/quotejsonstring.js deleted file mode 100644 index 61ade34..0000000 --- a/test/mjsunit/runtime-gen/quotejsonstring.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _string = "foo"; -%QuoteJSONString(_string); diff --git a/test/mjsunit/runtime-gen/regexpcompile.js b/test/mjsunit/runtime-gen/regexpcompile.js deleted file mode 100644 index c0edfa6..0000000 --- a/test/mjsunit/runtime-gen/regexpcompile.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _re = /ab/g; -var _pattern = "foo"; -var _flags = "foo"; -%RegExpCompile(_re, _pattern, _flags); diff --git a/test/mjsunit/runtime-gen/regexpconstructresult.js b/test/mjsunit/runtime-gen/regexpconstructresult.js deleted file mode 100644 index 50d2e0d..0000000 --- a/test/mjsunit/runtime-gen/regexpconstructresult.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _size = 1; -var _index = new Object(); -var _input = new Object(); -%_RegExpConstructResult(_size, _index, _input); diff --git a/test/mjsunit/runtime-gen/regexpexecmultiple.js b/test/mjsunit/runtime-gen/regexpexecmultiple.js deleted file mode 100644 index 9db6e6d..0000000 --- a/test/mjsunit/runtime-gen/regexpexecmultiple.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _regexp = /ab/g; -var _subject = "foo"; -var arg2 = ['a']; -var arg3 = ['a']; -%RegExpExecMultiple(_regexp, _subject, arg2, arg3); diff --git a/test/mjsunit/runtime-gen/regexpinitializeobject.js b/test/mjsunit/runtime-gen/regexpinitializeobject.js deleted file mode 100644 index fccdeee..0000000 --- a/test/mjsunit/runtime-gen/regexpinitializeobject.js +++ /dev/null @@ -1,9 +0,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 --harmony-proxies -var _regexp = /ab/g; -var _source = "foo"; -var _global = new Object(); -var _ignoreCase = new Object(); -var _multiline = new Object(); -%RegExpInitializeObject(_regexp, _source, _global, _ignoreCase, _multiline); diff --git a/test/mjsunit/runtime-gen/removearrayholes.js b/test/mjsunit/runtime-gen/removearrayholes.js deleted file mode 100644 index 971e63c..0000000 --- a/test/mjsunit/runtime-gen/removearrayholes.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _object = new Object(); -var _limit = 32; -%RemoveArrayHoles(_object, _limit); diff --git a/test/mjsunit/runtime-gen/rempio2.js b/test/mjsunit/runtime-gen/rempio2.js deleted file mode 100644 index 6d47bac..0000000 --- a/test/mjsunit/runtime-gen/rempio2.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _x = 1.5; -%RemPiO2(_x); diff --git a/test/mjsunit/runtime-gen/roundnumber.js b/test/mjsunit/runtime-gen/roundnumber.js deleted file mode 100644 index 2ec1159..0000000 --- a/test/mjsunit/runtime-gen/roundnumber.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _input = 1.5; -%RoundNumber(_input); diff --git a/test/mjsunit/runtime-gen/runmicrotasks.js b/test/mjsunit/runtime-gen/runmicrotasks.js deleted file mode 100644 index 945260a..0000000 --- a/test/mjsunit/runtime-gen/runmicrotasks.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%RunMicrotasks(); diff --git a/test/mjsunit/runtime-gen/runninginsimulator.js b/test/mjsunit/runtime-gen/runninginsimulator.js deleted file mode 100644 index fe56782..0000000 --- a/test/mjsunit/runtime-gen/runninginsimulator.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%RunningInSimulator(); diff --git a/test/mjsunit/runtime-gen/setadd.js b/test/mjsunit/runtime-gen/setadd.js deleted file mode 100644 index 75b923f..0000000 --- a/test/mjsunit/runtime-gen/setadd.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Set(); -var _key = new Object(); -%SetAdd(_holder, _key); diff --git a/test/mjsunit/runtime-gen/setclear.js b/test/mjsunit/runtime-gen/setclear.js deleted file mode 100644 index 82ef6d9..0000000 --- a/test/mjsunit/runtime-gen/setclear.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Set(); -%SetClear(_holder); diff --git a/test/mjsunit/runtime-gen/setcode.js b/test/mjsunit/runtime-gen/setcode.js deleted file mode 100644 index 4e2206f..0000000 --- a/test/mjsunit/runtime-gen/setcode.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _target = function() {}; -var _source = function() {}; -%SetCode(_target, _source); diff --git a/test/mjsunit/runtime-gen/setdebugeventlistener.js b/test/mjsunit/runtime-gen/setdebugeventlistener.js deleted file mode 100644 index d51b277..0000000 --- a/test/mjsunit/runtime-gen/setdebugeventlistener.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var arg0 = undefined; -var _data = new Object(); -%SetDebugEventListener(arg0, _data); diff --git a/test/mjsunit/runtime-gen/setdelete.js b/test/mjsunit/runtime-gen/setdelete.js deleted file mode 100644 index 80bd343..0000000 --- a/test/mjsunit/runtime-gen/setdelete.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Set(); -var _key = new Object(); -%SetDelete(_holder, _key); diff --git a/test/mjsunit/runtime-gen/setdisablebreak.js b/test/mjsunit/runtime-gen/setdisablebreak.js deleted file mode 100644 index 461942b..0000000 --- a/test/mjsunit/runtime-gen/setdisablebreak.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _disable_break = true; -%SetDisableBreak(_disable_break); diff --git a/test/mjsunit/runtime-gen/setflags.js b/test/mjsunit/runtime-gen/setflags.js deleted file mode 100644 index 70db03e..0000000 --- a/test/mjsunit/runtime-gen/setflags.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _arg = "foo"; -%SetFlags(_arg); diff --git a/test/mjsunit/runtime-gen/setfunctionbreakpoint.js b/test/mjsunit/runtime-gen/setfunctionbreakpoint.js deleted file mode 100644 index 010330e..0000000 --- a/test/mjsunit/runtime-gen/setfunctionbreakpoint.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _function = function() {}; -var arg1 = 218; -var _break_point_object_arg = new Object(); -%SetFunctionBreakPoint(_function, arg1, _break_point_object_arg); diff --git a/test/mjsunit/runtime-gen/setgetsize.js b/test/mjsunit/runtime-gen/setgetsize.js deleted file mode 100644 index 842016b..0000000 --- a/test/mjsunit/runtime-gen/setgetsize.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Set(); -%SetGetSize(_holder); diff --git a/test/mjsunit/runtime-gen/sethas.js b/test/mjsunit/runtime-gen/sethas.js deleted file mode 100644 index 8cec0d8..0000000 --- a/test/mjsunit/runtime-gen/sethas.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Set(); -var _key = new Object(); -%SetHas(_holder, _key); diff --git a/test/mjsunit/runtime-gen/setinitialize.js b/test/mjsunit/runtime-gen/setinitialize.js deleted file mode 100644 index b21a089..0000000 --- a/test/mjsunit/runtime-gen/setinitialize.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Set(); -%SetInitialize(_holder); diff --git a/test/mjsunit/runtime-gen/setisobserved.js b/test/mjsunit/runtime-gen/setisobserved.js deleted file mode 100644 index d885113..0000000 --- a/test/mjsunit/runtime-gen/setisobserved.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%SetIsObserved(_obj); diff --git a/test/mjsunit/runtime-gen/setiteratorinitialize.js b/test/mjsunit/runtime-gen/setiteratorinitialize.js deleted file mode 100644 index 34769e5..0000000 --- a/test/mjsunit/runtime-gen/setiteratorinitialize.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _holder = new Set().values(); -var _set = new Set(); -var arg2 = 2; -%SetIteratorInitialize(_holder, _set, arg2); diff --git a/test/mjsunit/runtime-gen/setiteratornext.js b/test/mjsunit/runtime-gen/setiteratornext.js deleted file mode 100644 index 02b74d4..0000000 --- a/test/mjsunit/runtime-gen/setiteratornext.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _holder = new Set().values(); -var _value_array = new Array(); -%SetIteratorNext(_holder, _value_array); diff --git a/test/mjsunit/runtime-gen/setprototype.js b/test/mjsunit/runtime-gen/setprototype.js deleted file mode 100644 index 6353151..0000000 --- a/test/mjsunit/runtime-gen/setprototype.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _obj = new Object(); -var _prototype = new Object(); -%SetPrototype(_obj, _prototype); diff --git a/test/mjsunit/runtime-gen/setscopevariablevalue.js b/test/mjsunit/runtime-gen/setscopevariablevalue.js deleted file mode 100644 index 680bab5..0000000 --- a/test/mjsunit/runtime-gen/setscopevariablevalue.js +++ /dev/null @@ -1,10 +0,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 --harmony-proxies -var _fun = function() {}; -var _wrapped_id = 1; -var _inlined_jsframe_index = 32; -var _index = 32; -var _variable_name = "foo"; -var _new_value = new Object(); -%SetScopeVariableValue(_fun, _wrapped_id, _inlined_jsframe_index, _index, _variable_name, _new_value); diff --git a/test/mjsunit/runtime-gen/smilexicographiccompare.js b/test/mjsunit/runtime-gen/smilexicographiccompare.js deleted file mode 100644 index d227a9f..0000000 --- a/test/mjsunit/runtime-gen/smilexicographiccompare.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x_value = 1; -var _y_value = 1; -%SmiLexicographicCompare(_x_value, _y_value); diff --git a/test/mjsunit/runtime-gen/sparsejoinwithseparator.js b/test/mjsunit/runtime-gen/sparsejoinwithseparator.js deleted file mode 100644 index 3a8e775..0000000 --- a/test/mjsunit/runtime-gen/sparsejoinwithseparator.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _elements_array = new Array(); -var _array_length = 32; -var _separator = "foo"; -%SparseJoinWithSeparator(_elements_array, _array_length, _separator); diff --git a/test/mjsunit/runtime-gen/specialarrayfunctions.js b/test/mjsunit/runtime-gen/specialarrayfunctions.js deleted file mode 100644 index 5956e84..0000000 --- a/test/mjsunit/runtime-gen/specialarrayfunctions.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%SpecialArrayFunctions(); diff --git a/test/mjsunit/runtime-gen/stringbuilderconcat.js b/test/mjsunit/runtime-gen/stringbuilderconcat.js deleted file mode 100644 index 9d7c78a..0000000 --- a/test/mjsunit/runtime-gen/stringbuilderconcat.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var arg0 = [1, 2, 3]; -var arg1 = 3; -var _special = "foo"; -%StringBuilderConcat(arg0, arg1, _special); diff --git a/test/mjsunit/runtime-gen/stringbuilderjoin.js b/test/mjsunit/runtime-gen/stringbuilderjoin.js deleted file mode 100644 index bf990c6..0000000 --- a/test/mjsunit/runtime-gen/stringbuilderjoin.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var arg0 = ['a', 'b']; -var arg1 = 4; -var _separator = "foo"; -%StringBuilderJoin(arg0, arg1, _separator); diff --git a/test/mjsunit/runtime-gen/stringcharcodeatrt.js b/test/mjsunit/runtime-gen/stringcharcodeatrt.js deleted file mode 100644 index fa016ac..0000000 --- a/test/mjsunit/runtime-gen/stringcharcodeatrt.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _subject = "foo"; -var _i = 32; -%StringCharCodeAtRT(_subject, _i); diff --git a/test/mjsunit/runtime-gen/stringequals.js b/test/mjsunit/runtime-gen/stringequals.js deleted file mode 100644 index 14e40eb..0000000 --- a/test/mjsunit/runtime-gen/stringequals.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _x = "foo"; -var _y = "foo"; -%StringEquals(_x, _y); diff --git a/test/mjsunit/runtime-gen/stringindexof.js b/test/mjsunit/runtime-gen/stringindexof.js deleted file mode 100644 index 3c5cab3..0000000 --- a/test/mjsunit/runtime-gen/stringindexof.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _sub = "foo"; -var _pat = "foo"; -var _index = new Object(); -%StringIndexOf(_sub, _pat, _index); diff --git a/test/mjsunit/runtime-gen/stringlastindexof.js b/test/mjsunit/runtime-gen/stringlastindexof.js deleted file mode 100644 index afbc51f..0000000 --- a/test/mjsunit/runtime-gen/stringlastindexof.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _sub = "foo"; -var _pat = "foo"; -var _index = new Object(); -%StringLastIndexOf(_sub, _pat, _index); diff --git a/test/mjsunit/runtime-gen/stringlocalecompare.js b/test/mjsunit/runtime-gen/stringlocalecompare.js deleted file mode 100644 index b37e231..0000000 --- a/test/mjsunit/runtime-gen/stringlocalecompare.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _str1 = "foo"; -var _str2 = "foo"; -%StringLocaleCompare(_str1, _str2); diff --git a/test/mjsunit/runtime-gen/stringmatch.js b/test/mjsunit/runtime-gen/stringmatch.js deleted file mode 100644 index 330aeae..0000000 --- a/test/mjsunit/runtime-gen/stringmatch.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _subject = "foo"; -var _regexp = /ab/g; -var arg2 = ['a', 'b']; -%StringMatch(_subject, _regexp, arg2); diff --git a/test/mjsunit/runtime-gen/stringnormalize.js b/test/mjsunit/runtime-gen/stringnormalize.js deleted file mode 100644 index fb408a4..0000000 --- a/test/mjsunit/runtime-gen/stringnormalize.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _stringValue = "foo"; -var arg1 = 2; -%StringNormalize(_stringValue, arg1); diff --git a/test/mjsunit/runtime-gen/stringparsefloat.js b/test/mjsunit/runtime-gen/stringparsefloat.js deleted file mode 100644 index 520a24e..0000000 --- a/test/mjsunit/runtime-gen/stringparsefloat.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _subject = "foo"; -%StringParseFloat(_subject); diff --git a/test/mjsunit/runtime-gen/stringparseint.js b/test/mjsunit/runtime-gen/stringparseint.js deleted file mode 100644 index 4311655..0000000 --- a/test/mjsunit/runtime-gen/stringparseint.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _subject = "foo"; -var _radix = 32; -%StringParseInt(_subject, _radix); diff --git a/test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js b/test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js deleted file mode 100644 index ad2b6e6..0000000 --- a/test/mjsunit/runtime-gen/stringreplaceglobalregexpwithstring.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _subject = "foo"; -var _regexp = /ab/g; -var _replacement = "foo"; -var arg3 = ['a']; -%StringReplaceGlobalRegExpWithString(_subject, _regexp, _replacement, arg3); diff --git a/test/mjsunit/runtime-gen/stringreplaceonecharwithstring.js b/test/mjsunit/runtime-gen/stringreplaceonecharwithstring.js deleted file mode 100644 index 5e38a79..0000000 --- a/test/mjsunit/runtime-gen/stringreplaceonecharwithstring.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _subject = "foo"; -var _search = "foo"; -var _replace = "foo"; -%StringReplaceOneCharWithString(_subject, _search, _replace); diff --git a/test/mjsunit/runtime-gen/stringsplit.js b/test/mjsunit/runtime-gen/stringsplit.js deleted file mode 100644 index dfe6831..0000000 --- a/test/mjsunit/runtime-gen/stringsplit.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _subject = "foo"; -var _pattern = "foo"; -var _limit = 32; -%StringSplit(_subject, _pattern, _limit); diff --git a/test/mjsunit/runtime-gen/stringtoarray.js b/test/mjsunit/runtime-gen/stringtoarray.js deleted file mode 100644 index 6ed48a7..0000000 --- a/test/mjsunit/runtime-gen/stringtoarray.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _s = "foo"; -var _limit = 32; -%StringToArray(_s, _limit); diff --git a/test/mjsunit/runtime-gen/stringtolowercase.js b/test/mjsunit/runtime-gen/stringtolowercase.js deleted file mode 100644 index 3a7261a..0000000 --- a/test/mjsunit/runtime-gen/stringtolowercase.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _s = "foo"; -%StringToLowerCase(_s); diff --git a/test/mjsunit/runtime-gen/stringtonumber.js b/test/mjsunit/runtime-gen/stringtonumber.js deleted file mode 100644 index 88e2e84..0000000 --- a/test/mjsunit/runtime-gen/stringtonumber.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _subject = "foo"; -%StringToNumber(_subject); diff --git a/test/mjsunit/runtime-gen/stringtouppercase.js b/test/mjsunit/runtime-gen/stringtouppercase.js deleted file mode 100644 index b7d9731..0000000 --- a/test/mjsunit/runtime-gen/stringtouppercase.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _s = "foo"; -%StringToUpperCase(_s); diff --git a/test/mjsunit/runtime-gen/stringtrim.js b/test/mjsunit/runtime-gen/stringtrim.js deleted file mode 100644 index 75d197e..0000000 --- a/test/mjsunit/runtime-gen/stringtrim.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _string = "foo"; -var _trimLeft = true; -var _trimRight = true; -%StringTrim(_string, _trimLeft, _trimRight); diff --git a/test/mjsunit/runtime-gen/symboldescription.js b/test/mjsunit/runtime-gen/symboldescription.js deleted file mode 100644 index 1336082..0000000 --- a/test/mjsunit/runtime-gen/symboldescription.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _symbol = Symbol("symbol"); -%SymbolDescription(_symbol); diff --git a/test/mjsunit/runtime-gen/symbolisprivate.js b/test/mjsunit/runtime-gen/symbolisprivate.js deleted file mode 100644 index 8e5343e..0000000 --- a/test/mjsunit/runtime-gen/symbolisprivate.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _symbol = Symbol("symbol"); -%SymbolIsPrivate(_symbol); diff --git a/test/mjsunit/runtime-gen/symbolregistry.js b/test/mjsunit/runtime-gen/symbolregistry.js deleted file mode 100644 index 71964e6..0000000 --- a/test/mjsunit/runtime-gen/symbolregistry.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%SymbolRegistry(); diff --git a/test/mjsunit/runtime-gen/tobool.js b/test/mjsunit/runtime-gen/tobool.js deleted file mode 100644 index ca522c8..0000000 --- a/test/mjsunit/runtime-gen/tobool.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%ToBool(_object); diff --git a/test/mjsunit/runtime-gen/tofastproperties.js b/test/mjsunit/runtime-gen/tofastproperties.js deleted file mode 100644 index f9c1890..0000000 --- a/test/mjsunit/runtime-gen/tofastproperties.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%ToFastProperties(_object); diff --git a/test/mjsunit/runtime-gen/tomethod.js b/test/mjsunit/runtime-gen/tomethod.js deleted file mode 100644 index 0d4eb55..0000000 --- a/test/mjsunit/runtime-gen/tomethod.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _fun = function() {}; -var _home_object = new Object(); -%ToMethod(_fun, _home_object); diff --git a/test/mjsunit/runtime-gen/traceenter.js b/test/mjsunit/runtime-gen/traceenter.js deleted file mode 100644 index 768a0c2..0000000 --- a/test/mjsunit/runtime-gen/traceenter.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%TraceEnter(); diff --git a/test/mjsunit/runtime-gen/traceexit.js b/test/mjsunit/runtime-gen/traceexit.js deleted file mode 100644 index 378d008..0000000 --- a/test/mjsunit/runtime-gen/traceexit.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%TraceExit(_obj); diff --git a/test/mjsunit/runtime-gen/trymigrateinstance.js b/test/mjsunit/runtime-gen/trymigrateinstance.js deleted file mode 100644 index b82eb74..0000000 --- a/test/mjsunit/runtime-gen/trymigrateinstance.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _object = new Object(); -%TryMigrateInstance(_object); diff --git a/test/mjsunit/runtime-gen/typedarraygetbuffer.js b/test/mjsunit/runtime-gen/typedarraygetbuffer.js deleted file mode 100644 index 56a805b..0000000 --- a/test/mjsunit/runtime-gen/typedarraygetbuffer.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Int32Array(2); -%TypedArrayGetBuffer(_holder); diff --git a/test/mjsunit/runtime-gen/typedarraygetlength.js b/test/mjsunit/runtime-gen/typedarraygetlength.js deleted file mode 100644 index 8d1865f..0000000 --- a/test/mjsunit/runtime-gen/typedarraygetlength.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _holder = new Int32Array(2); -%TypedArrayGetLength(_holder); diff --git a/test/mjsunit/runtime-gen/typedarrayinitialize.js b/test/mjsunit/runtime-gen/typedarrayinitialize.js deleted file mode 100644 index be1e296..0000000 --- a/test/mjsunit/runtime-gen/typedarrayinitialize.js +++ /dev/null @@ -1,9 +0,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 --harmony-proxies -var _holder = new Int32Array(2); -var arg1 = 6; -var arg2 = new ArrayBuffer(8); -var _byte_offset_object = 1.5; -var arg4 = 4; -%TypedArrayInitialize(_holder, arg1, arg2, _byte_offset_object, arg4); diff --git a/test/mjsunit/runtime-gen/typedarrayinitializefromarraylike.js b/test/mjsunit/runtime-gen/typedarrayinitializefromarraylike.js deleted file mode 100644 index 0ca7a0f..0000000 --- a/test/mjsunit/runtime-gen/typedarrayinitializefromarraylike.js +++ /dev/null @@ -1,8 +0,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 --harmony-proxies -var _holder = new Int32Array(2); -var arg1 = 6; -var _source = new Object(); -var _length_obj = 1.5; -%TypedArrayInitializeFromArrayLike(_holder, arg1, _source, _length_obj); diff --git a/test/mjsunit/runtime-gen/typedarraymaxsizeinheap.js b/test/mjsunit/runtime-gen/typedarraymaxsizeinheap.js deleted file mode 100644 index 61467bd..0000000 --- a/test/mjsunit/runtime-gen/typedarraymaxsizeinheap.js +++ /dev/null @@ -1,4 +0,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 --harmony-proxies -%TypedArrayMaxSizeInHeap(); diff --git a/test/mjsunit/runtime-gen/typedarraysetfastcases.js b/test/mjsunit/runtime-gen/typedarraysetfastcases.js deleted file mode 100644 index 4952129..0000000 --- a/test/mjsunit/runtime-gen/typedarraysetfastcases.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _target_obj = new Int32Array(2); -var _source_obj = new Int32Array(2); -var arg2 = 0; -%TypedArraySetFastCases(_target_obj, _source_obj, arg2); diff --git a/test/mjsunit/runtime-gen/typeof.js b/test/mjsunit/runtime-gen/typeof.js deleted file mode 100644 index 78bfa6e..0000000 --- a/test/mjsunit/runtime-gen/typeof.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _obj = new Object(); -%Typeof(_obj); diff --git a/test/mjsunit/runtime-gen/unblockconcurrentrecompilation.js b/test/mjsunit/runtime-gen/unblockconcurrentrecompilation.js deleted file mode 100644 index a08add7..0000000 --- a/test/mjsunit/runtime-gen/unblockconcurrentrecompilation.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -try { -%UnblockConcurrentRecompilation(); -} catch(e) {} diff --git a/test/mjsunit/runtime-gen/uriescape.js b/test/mjsunit/runtime-gen/uriescape.js deleted file mode 100644 index f32edc9..0000000 --- a/test/mjsunit/runtime-gen/uriescape.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _source = "foo"; -%URIEscape(_source); diff --git a/test/mjsunit/runtime-gen/uriunescape.js b/test/mjsunit/runtime-gen/uriunescape.js deleted file mode 100644 index 2ba812c..0000000 --- a/test/mjsunit/runtime-gen/uriunescape.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _source = "foo"; -%URIUnescape(_source); diff --git a/test/mjsunit/runtime-gen/weakcollectiondelete.js b/test/mjsunit/runtime-gen/weakcollectiondelete.js deleted file mode 100644 index a6fff79..0000000 --- a/test/mjsunit/runtime-gen/weakcollectiondelete.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _weak_collection = new WeakMap(); -var _key = new Object(); -%WeakCollectionDelete(_weak_collection, _key); diff --git a/test/mjsunit/runtime-gen/weakcollectionget.js b/test/mjsunit/runtime-gen/weakcollectionget.js deleted file mode 100644 index f248ac0..0000000 --- a/test/mjsunit/runtime-gen/weakcollectionget.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _weak_collection = new WeakMap(); -var _key = new Object(); -%WeakCollectionGet(_weak_collection, _key); diff --git a/test/mjsunit/runtime-gen/weakcollectionhas.js b/test/mjsunit/runtime-gen/weakcollectionhas.js deleted file mode 100644 index af600c3..0000000 --- a/test/mjsunit/runtime-gen/weakcollectionhas.js +++ /dev/null @@ -1,6 +0,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 --harmony-proxies -var _weak_collection = new WeakMap(); -var _key = new Object(); -%WeakCollectionHas(_weak_collection, _key); diff --git a/test/mjsunit/runtime-gen/weakcollectioninitialize.js b/test/mjsunit/runtime-gen/weakcollectioninitialize.js deleted file mode 100644 index 97f5ce5..0000000 --- a/test/mjsunit/runtime-gen/weakcollectioninitialize.js +++ /dev/null @@ -1,5 +0,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 --harmony-proxies -var _weak_collection = new WeakMap(); -%WeakCollectionInitialize(_weak_collection); diff --git a/test/mjsunit/runtime-gen/weakcollectionset.js b/test/mjsunit/runtime-gen/weakcollectionset.js deleted file mode 100644 index 3479ba6..0000000 --- a/test/mjsunit/runtime-gen/weakcollectionset.js +++ /dev/null @@ -1,7 +0,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 --harmony-proxies -var _weak_collection = new WeakMap(); -var _key = new Object(); -var _value = new Object(); -%WeakCollectionSet(_weak_collection, _key, _value); diff --git a/tools/check-name-clashes.py b/tools/check-name-clashes.py new file mode 100755 index 0000000..e448930 --- /dev/null +++ b/tools/check-name-clashes.py @@ -0,0 +1,201 @@ +#!/usr/bin/env python +# Copyright 2014 the V8 project authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import js2c +import os +import re +import sys + +FILENAME = "src/runtime.cc" +FUNCTION = re.compile("^RUNTIME_FUNCTION\(Runtime_(\w+)") +FUNCTIONEND = "}\n" +MACRO = re.compile(r"^#define ([^ ]+)\(([^)]*)\) *([^\\]*)\\?\n$") +FIRST_WORD = re.compile("^\s*(.*?)[\s({\[]") + +# Expand these macros, they define further runtime functions. +EXPAND_MACROS = [ + "BUFFER_VIEW_GETTER", + "DATA_VIEW_GETTER", + "DATA_VIEW_SETTER", + "ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION", + "FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION", + "RUNTIME_UNARY_MATH", + "TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION", +] + + +class Function(object): + def __init__(self, match): + self.name = match.group(1) + + +class Macro(object): + def __init__(self, match): + self.name = match.group(1) + self.args = [s.strip() for s in match.group(2).split(",")] + self.lines = [] + self.indentation = 0 + self.AddLine(match.group(3)) + + def AddLine(self, line): + if not line: return + if not self.lines: + # This is the first line, detect indentation. + self.indentation = len(line) - len(line.lstrip()) + line = line.rstrip("\\\n ") + if not line: return + assert len(line[:self.indentation].strip()) == 0, \ + ("expected whitespace: '%s', full line: '%s'" % + (line[:self.indentation], line)) + line = line[self.indentation:] + if not line: return + self.lines.append(line + "\n") + + def Finalize(self): + for arg in self.args: + pattern = re.compile(r"(##|\b)%s(##|\b)" % arg) + for i in range(len(self.lines)): + self.lines[i] = re.sub(pattern, "%%(%s)s" % arg, self.lines[i]) + + def FillIn(self, arg_values): + filler = {} + assert len(arg_values) == len(self.args) + for i in range(len(self.args)): + filler[self.args[i]] = arg_values[i] + result = [] + for line in self.lines: + result.append(line % filler) + return result + + +def ReadFileAndExpandMacros(filename): + found_macros = {} + expanded_lines = [] + with open(filename, "r") as f: + found_macro = None + for line in f: + if found_macro is not None: + found_macro.AddLine(line) + if not line.endswith("\\\n"): + found_macro.Finalize() + found_macro = None + continue + + match = MACRO.match(line) + if match: + found_macro = Macro(match) + if found_macro.name in EXPAND_MACROS: + found_macros[found_macro.name] = found_macro + else: + found_macro = None + continue + + match = FIRST_WORD.match(line) + if match: + first_word = match.group(1) + if first_word in found_macros: + MACRO_CALL = re.compile("%s\(([^)]*)\)" % first_word) + match = MACRO_CALL.match(line) + assert match + args = [s.strip() for s in match.group(1).split(",")] + expanded_lines += found_macros[first_word].FillIn(args) + continue + + expanded_lines.append(line) + return expanded_lines + + +# Detects runtime functions by parsing FILENAME. +def FindRuntimeFunctions(): + functions = [] + expanded_lines = ReadFileAndExpandMacros(FILENAME) + function = None + partial_line = "" + for line in expanded_lines: + # Multi-line definition support, ignoring macros. + if line.startswith("RUNTIME_FUNCTION") and not line.endswith("{\n"): + if line.endswith("\\\n"): continue + partial_line = line.rstrip() + continue + if partial_line: + partial_line += " " + line.strip() + if partial_line.endswith("{"): + line = partial_line + partial_line = "" + else: + continue + + match = FUNCTION.match(line) + if match: + function = Function(match) + continue + if function is None: continue + + if line == FUNCTIONEND: + if function is not None: + functions.append(function) + function = None + return functions + + +class Builtin(object): + def __init__(self, match): + self.name = match.group(1) + + +def FindJSNatives(): + PATH = "src" + fileslist = [] + for (root, dirs, files) in os.walk(PATH): + for f in files: + if f.endswith(".js"): + fileslist.append(os.path.join(root, f)) + natives = [] + regexp = re.compile("^function (\w+)\s*\((.*?)\) {") + matches = 0 + for filename in fileslist: + with open(filename, "r") as f: + file_contents = f.read() + file_contents = js2c.ExpandInlineMacros(file_contents) + lines = file_contents.split("\n") + partial_line = "" + for line in lines: + if line.startswith("function") and not '{' in line: + partial_line += line.rstrip() + continue + if partial_line: + partial_line += " " + line.strip() + if '{' in line: + line = partial_line + partial_line = "" + else: + continue + match = regexp.match(line) + if match: + natives.append(Builtin(match)) + return natives + + +def Main(): + functions = FindRuntimeFunctions() + natives = FindJSNatives() + errors = 0 + runtime_map = {} + for f in functions: + runtime_map[f.name] = 1 + for b in natives: + if b.name in runtime_map: + print("JS_Native/Runtime_Function name clash: %s" % b.name) + errors += 1 + + if errors > 0: + return 1 + print("Runtime/Natives name clashes: checked %d/%d functions, all good." % + (len(functions), len(natives))) + return 0 + + +if __name__ == "__main__": + sys.exit(Main()) diff --git a/tools/generate-runtime-tests.py b/tools/generate-runtime-tests.py deleted file mode 100755 index 8362d1b..0000000 --- a/tools/generate-runtime-tests.py +++ /dev/null @@ -1,1417 +0,0 @@ -#!/usr/bin/env python -# Copyright 2014 the V8 project authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -import itertools -import js2c -import multiprocessing -import optparse -import os -import random -import re -import shutil -import signal -import string -import subprocess -import sys -import time - -FILENAME = "src/runtime.cc" -HEADERFILENAME = "src/runtime.h" -FUNCTION = re.compile("^RUNTIME_FUNCTION\(Runtime_(\w+)") -ARGSLENGTH = re.compile(".*DCHECK\(.*args\.length\(\) == (\d+)\);") -FUNCTIONEND = "}\n" -MACRO = re.compile(r"^#define ([^ ]+)\(([^)]*)\) *([^\\]*)\\?\n$") -FIRST_WORD = re.compile("^\s*(.*?)[\s({\[]") - -WORKSPACE = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")) -BASEPATH = os.path.join(WORKSPACE, "test", "mjsunit", "runtime-gen") -THIS_SCRIPT = os.path.relpath(sys.argv[0]) - -# Expand these macros, they define further runtime functions. -EXPAND_MACROS = [ - "BUFFER_VIEW_GETTER", - "DATA_VIEW_GETTER", - "DATA_VIEW_SETTER", - "RUNTIME_UNARY_MATH", -] -# TODO(jkummerow): We could also whitelist the following macros, but the -# functions they define are so trivial that it's unclear how much benefit -# that would provide: -# ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION -# FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION -# TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION - -# Counts of functions in each detection state. These are used to assert -# that the parser doesn't bit-rot. Change the values as needed when you add, -# remove or change runtime functions, but make sure we don't lose our ability -# to parse them! -EXPECTED_FUNCTION_COUNT = 431 -EXPECTED_FUZZABLE_COUNT = 326 -EXPECTED_CCTEST_COUNT = 7 -EXPECTED_UNKNOWN_COUNT = 21 -EXPECTED_BUILTINS_COUNT = 806 - - -# Don't call these at all. -BLACKLISTED = [ - "Abort", # Kills the process. - "AbortJS", # Kills the process. - "CompileForOnStackReplacement", # Riddled with DCHECK. - "IS_VAR", # Not implemented in the runtime. - "ListNatives", # Not available in Release mode. - "SetAllocationTimeout", # Too slow for fuzzing. - "SystemBreak", # Kills (int3) the process. - - # These are weird. They violate some invariants when called after - # bootstrapping. - "DisableAccessChecks", - "EnableAccessChecks", - - # The current LiveEdit implementation relies on and messes with internals - # in ways that makes it fundamentally unfuzzable :-( - "DebugGetLoadedScripts", - "DebugSetScriptSource", - "LiveEditFindSharedFunctionInfosForScript", - "LiveEditFunctionSourceUpdated", - "LiveEditGatherCompileInfo", - "LiveEditPatchFunctionPositions", - "LiveEditReplaceFunctionCode", - "LiveEditReplaceRefToNestedFunction", - "LiveEditReplaceScript", - "LiveEditRestartFrame", - "SetScriptBreakPoint", - - # TODO(jkummerow): Fix these and un-blacklist them! - "CreateDateTimeFormat", - "CreateNumberFormat", - - # TODO(danno): Fix these internal function that are only callable form stubs - # and un-blacklist them! - "NumberToString", - "RxegExpConstructResult", - "RegExpExec", - "StringAdd", - "SubString", - "StringCompare", - "StringCharCodeAt", - "GetFromCache", - - # Compilation - "CompileUnoptimized", - "CompileOptimized", - "TryInstallOptimizedCode", - "NotifyDeoptimized", - "NotifyStubFailure", - - # Utilities - "AllocateInNewSpace", - "AllocateInTargetSpace", - "AllocateHeapNumber", - "LoadMutableDouble", - "NumberToSmi", - "NumberToStringSkipCache", - - "FunctionBindArguments", - "NewSloppyArguments", - "NewStrictArguments", - - # Harmony - "CreateJSGeneratorObject", - "SuspendJSGeneratorObject", - "ResumeJSGeneratorObject", - "ThrowGeneratorStateError", - - # Arrays - "ArrayConstructor", - "InternalArrayConstructor", - "NormalizeElements", - - # Literals - "MaterializeRegExpLiteral", - "CreateObjectLiteral", - "CreateArrayLiteral", - "CreateArrayLiteralStubBailout", - - # Statements - "NewClosure", - "NewClosureFromStubFailure", - "NewObject", - "NewObjectWithAllocationSite", - "FinalizeInstanceSize", - "Throw", - "ReThrow", - "ThrowReferenceError", - "ThrowNotDateError", - "StackGuard", - "Interrupt", - "PromoteScheduledException", - - # Contexts - "NewGlobalContext", - "NewFunctionContext", - "PushWithContext", - "PushCatchContext", - "PushBlockContext", - "PushModuleContext", - "DeleteLookupSlot", - "LoadLookupSlot", - "LoadLookupSlotNoReferenceError", - "StoreLookupSlot", - - # Declarations - "DeclareGlobals", - "DeclareModules", - "DeclareContextSlot", - "InitializeConstGlobal", - "InitializeConstContextSlot", - - # Eval - "ResolvePossiblyDirectEval", - - # Maths - "MathPowSlow", - "MathPowRT", - - # Internal - "InternalSetPrototype", -] - - -# These will always throw. -THROWS = [ - "CheckExecutionState", # Needs to hit a break point. - "CheckIsBootstrapping", # Needs to be bootstrapping. - "DebugEvaluate", # Needs to hit a break point. - "DebugEvaluateGlobal", # Needs to hit a break point. - "DebugIndexedInterceptorElementValue", # Needs an indexed interceptor. - "DebugNamedInterceptorPropertyValue", # Needs a named interceptor. - "DebugSetScriptSource", # Checks compilation state of script. - "GetAllScopesDetails", # Needs to hit a break point. - "GetFrameCount", # Needs to hit a break point. - "GetFrameDetails", # Needs to hit a break point. - "GetRootNaN", # Needs to be bootstrapping. - "GetScopeCount", # Needs to hit a break point. - "GetScopeDetails", # Needs to hit a break point. - "GetStepInPositions", # Needs to hit a break point. - "GetTemplateField", # Needs a {Function,Object}TemplateInfo. - "GetThreadCount", # Needs to hit a break point. - "GetThreadDetails", # Needs to hit a break point. - "IsAccessAllowedForObserver", # Needs access-check-required object. - "UnblockConcurrentRecompilation" # Needs --block-concurrent-recompilation. -] - - -# Definitions used in CUSTOM_KNOWN_GOOD_INPUT below. -_BREAK_ITERATOR = ( - "%GetImplFromInitializedIntlObject(new Intl.v8BreakIterator())") -_COLLATOR = "%GetImplFromInitializedIntlObject(new Intl.Collator('en-US'))" -_DATETIME_FORMAT = ( - "%GetImplFromInitializedIntlObject(new Intl.DateTimeFormat('en-US'))") -_NUMBER_FORMAT = ( - "%GetImplFromInitializedIntlObject(new Intl.NumberFormat('en-US'))") - - -# Custom definitions for function input that does not throw. -# Format: "FunctionName": ["arg0", "arg1", ..., argslength]. -# None means "fall back to autodetected value". -CUSTOM_KNOWN_GOOD_INPUT = { - "AddNamedProperty": [None, "\"bla\"", None, None, None], - "AddPropertyForTemplate": [None, 10, None, None, None], - "Apply": ["function() {}", None, None, None, None, None], - "ArrayBufferSliceImpl": [None, None, 0, None], - "ArrayConcat": ["[1, 'a']", None], - "BreakIteratorAdoptText": [_BREAK_ITERATOR, None, None], - "BreakIteratorBreakType": [_BREAK_ITERATOR, None], - "BreakIteratorCurrent": [_BREAK_ITERATOR, None], - "BreakIteratorFirst": [_BREAK_ITERATOR, None], - "BreakIteratorNext": [_BREAK_ITERATOR, None], - "CompileString": [None, "false", None], - "CreateBreakIterator": ["'en-US'", "{type: 'string'}", None, None], - "CreateJSFunctionProxy": [None, "function() {}", None, None, None], - "CreatePrivateSymbol": ["\"foo\"", None], - "CreatePrivateOwnSymbol": ["\"foo\"", None], - "CreateSymbol": ["\"foo\"", None], - "DateParseString": [None, "new Array(8)", None], - "DefineAccessorPropertyUnchecked": [None, None, "function() {}", - "function() {}", 2, None], - "FunctionBindArguments": [None, None, "undefined", None, None], - "GetBreakLocations": [None, 0, None], - "GetDefaultReceiver": ["function() {}", None], - "GetImplFromInitializedIntlObject": ["new Intl.NumberFormat('en-US')", None], - "InternalCompare": [_COLLATOR, None, None, None], - "InternalDateFormat": [_DATETIME_FORMAT, None, None], - "InternalDateParse": [_DATETIME_FORMAT, None, None], - "InternalNumberFormat": [_NUMBER_FORMAT, None, None], - "InternalNumberParse": [_NUMBER_FORMAT, None, None], - "IsSloppyModeFunction": ["function() {}", None], - "LoadMutableDouble": ["{foo: 1.2}", None, None], - "NewObjectFromBound": ["(function() {}).bind({})", None], - "NumberToRadixString": [None, "2", None], - "ParseJson": ["\"{}\"", 1], - "RegExpExecMultiple": [None, None, "['a']", "['a']", None], - "DefineApiAccessorProperty": [None, None, "undefined", "undefined", None, None], - "SetIteratorInitialize": [None, None, "2", None], - "SetDebugEventListener": ["undefined", 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], - "StringNormalize": [None, 2, None], - "StringReplaceGlobalRegExpWithString": [None, None, None, "['a']", None], - "TypedArrayInitialize": [None, 6, "new ArrayBuffer(8)", None, 4, None], - "TypedArrayInitializeFromArrayLike": [None, 6, None, None, None], - "TypedArraySetFastCases": [None, None, "0", None], - "FunctionIsArrow": ["() => null", None], -} - - -# Types of arguments that cannot be generated in a JavaScript testcase. -NON_JS_TYPES = [ - "Code", "Context", "FixedArray", "FunctionTemplateInfo", - "JSFunctionResultCache", "JSMessageObject", "Map", "ScopeInfo", - "SharedFunctionInfo"] - - -class Generator(object): - - def RandomVariable(self, varname, vartype, simple): - if simple: - return self._Variable(varname, self.GENERATORS[vartype][0]) - return self.GENERATORS[vartype][1](self, varname, - self.DEFAULT_RECURSION_BUDGET) - - @staticmethod - def IsTypeSupported(typename): - return typename in Generator.GENERATORS - - USUAL_SUSPECT_PROPERTIES = ["size", "length", "byteLength", "__proto__", - "prototype", "0", "1", "-1"] - DEFAULT_RECURSION_BUDGET = 2 - PROXY_TRAPS = """{ - getOwnPropertyDescriptor: function(name) { - return {value: function() {}, configurable: true, writable: true, - enumerable: true}; - }, - getPropertyDescriptor: function(name) { - return {value: function() {}, configurable: true, writable: true, - enumerable: true}; - }, - getOwnPropertyNames: function() { return []; }, - getPropertyNames: function() { return []; }, - defineProperty: function(name, descriptor) {}, - delete: function(name) { return true; }, - fix: function() {} - }""" - - def _Variable(self, name, value, fallback=None): - args = { "name": name, "value": value, "fallback": fallback } - if fallback: - wrapper = "try { %%s } catch(e) { var %(name)s = %(fallback)s; }" % args - else: - wrapper = "%s" - return [wrapper % ("var %(name)s = %(value)s;" % args)] - - def _Boolean(self, name, recursion_budget): - return self._Variable(name, random.choice(["true", "false"])) - - def _Oddball(self, name, recursion_budget): - return self._Variable(name, - random.choice(["true", "false", "undefined", "null"])) - - def _StrictMode(self, name, recursion_budget): - return self._Variable(name, random.choice([0, 1])) - - def _Int32(self, name, recursion_budget=0): - die = random.random() - if die < 0.5: - value = random.choice([-3, -1, 0, 1, 2, 10, 515, 0x3fffffff, 0x7fffffff, - 0x40000000, -0x40000000, -0x80000000]) - elif die < 0.75: - value = random.randint(-1000, 1000) - else: - value = random.randint(-0x80000000, 0x7fffffff) - return self._Variable(name, value) - - def _Uint32(self, name, recursion_budget=0): - die = random.random() - if die < 0.5: - value = random.choice([0, 1, 2, 3, 4, 8, 0x3fffffff, 0x40000000, - 0x7fffffff, 0xffffffff]) - elif die < 0.75: - value = random.randint(0, 1000) - else: - value = random.randint(0, 0xffffffff) - return self._Variable(name, value) - - def _Smi(self, name, recursion_budget): - die = random.random() - if die < 0.5: - value = random.choice([-5, -1, 0, 1, 2, 3, 0x3fffffff, -0x40000000]) - elif die < 0.75: - value = random.randint(-1000, 1000) - else: - value = random.randint(-0x40000000, 0x3fffffff) - return self._Variable(name, value) - - def _Number(self, name, recursion_budget): - die = random.random() - if die < 0.5: - return self._Smi(name, recursion_budget) - elif die < 0.6: - value = random.choice(["Infinity", "-Infinity", "NaN", "-0", - "1.7976931348623157e+308", # Max value. - "2.2250738585072014e-308", # Min value. - "4.9406564584124654e-324"]) # Min subnormal. - else: - value = random.lognormvariate(0, 15) - return self._Variable(name, value) - - def _RawRandomString(self, minlength=0, maxlength=100, - alphabet=string.ascii_letters): - length = random.randint(minlength, maxlength) - result = "" - for i in xrange(length): - result += random.choice(alphabet) - return result - - def _SeqString(self, name, recursion_budget): - s1 = self._RawRandomString(1, 5) - s2 = self._RawRandomString(1, 5) - # 'foo' + 'bar' - return self._Variable(name, "\"%s\" + \"%s\"" % (s1, s2)) - - def _SeqTwoByteString(self, name): - s1 = self._RawRandomString(1, 5) - s2 = self._RawRandomString(1, 5) - # 'foo' + unicode + 'bar' - return self._Variable(name, "\"%s\" + \"\\2082\" + \"%s\"" % (s1, s2)) - - def _SlicedString(self, name): - s = self._RawRandomString(20, 30) - # 'ffoo12345678901234567890'.substr(1) - return self._Variable(name, "\"%s\".substr(1)" % s) - - def _ConsString(self, name): - s1 = self._RawRandomString(8, 15) - s2 = self._RawRandomString(8, 15) - # 'foo12345' + (function() { return 'bar12345';})() - return self._Variable(name, - "\"%s\" + (function() { return \"%s\";})()" % (s1, s2)) - - def _InternalizedString(self, name): - return self._Variable(name, "\"%s\"" % self._RawRandomString(0, 20)) - - def _String(self, name, recursion_budget): - die = random.random() - if die < 0.5: - string = random.choice(self.USUAL_SUSPECT_PROPERTIES) - return self._Variable(name, "\"%s\"" % string) - elif die < 0.6: - number_name = name + "_number" - result = self._Number(number_name, recursion_budget) - return result + self._Variable(name, "\"\" + %s" % number_name) - elif die < 0.7: - return self._SeqString(name, recursion_budget) - elif die < 0.8: - return self._ConsString(name) - elif die < 0.9: - return self._InternalizedString(name) - else: - return self._SlicedString(name) - - def _Symbol(self, name, recursion_budget): - raw_string_name = name + "_1" - result = self._String(raw_string_name, recursion_budget) - return result + self._Variable(name, "Symbol(%s)" % raw_string_name) - - def _Name(self, name, recursion_budget): - if random.random() < 0.2: - return self._Symbol(name, recursion_budget) - return self._String(name, recursion_budget) - - def _JSValue(self, name, recursion_budget): - die = random.random() - raw_name = name + "_1" - if die < 0.33: - result = self._String(raw_name, recursion_budget) - return result + self._Variable(name, "new String(%s)" % raw_name) - elif die < 0.66: - result = self._Boolean(raw_name, recursion_budget) - return result + self._Variable(name, "new Boolean(%s)" % raw_name) - else: - result = self._Number(raw_name, recursion_budget) - return result + self._Variable(name, "new Number(%s)" % raw_name) - - def _RawRandomPropertyName(self): - if random.random() < 0.5: - return random.choice(self.USUAL_SUSPECT_PROPERTIES) - return self._RawRandomString(0, 10) - - def _AddProperties(self, name, result, recursion_budget): - propcount = random.randint(0, 3) - propname = None - for i in range(propcount): - die = random.random() - if die < 0.5: - propname = "%s_prop%d" % (name, i) - result += self._Name(propname, recursion_budget - 1) - else: - propname = "\"%s\"" % self._RawRandomPropertyName() - propvalue_name = "%s_val%d" % (name, i) - result += self._Object(propvalue_name, recursion_budget - 1) - result.append("try { %s[%s] = %s; } catch (e) {}" % - (name, propname, propvalue_name)) - if random.random() < 0.2 and propname: - # Force the object to slow mode. - result.append("delete %s[%s];" % (name, propname)) - - def _RandomElementIndex(self, element_name, result): - if random.random() < 0.5: - return random.randint(-1000, 1000) - result += self._Smi(element_name, 0) - return element_name - - def _AddElements(self, name, result, recursion_budget): - elementcount = random.randint(0, 3) - for i in range(elementcount): - element_name = "%s_idx%d" % (name, i) - index = self._RandomElementIndex(element_name, result) - value_name = "%s_elt%d" % (name, i) - result += self._Object(value_name, recursion_budget - 1) - result.append("try { %s[%s] = %s; } catch(e) {}" % - (name, index, value_name)) - - def _AddAccessors(self, name, result, recursion_budget): - accessorcount = random.randint(0, 3) - for i in range(accessorcount): - propname = self._RawRandomPropertyName() - what = random.choice(["get", "set"]) - function_name = "%s_access%d" % (name, i) - result += self._PlainFunction(function_name, recursion_budget - 1) - result.append("try { Object.defineProperty(%s, \"%s\", {%s: %s}); } " - "catch (e) {}" % (name, propname, what, function_name)) - - def _PlainArray(self, name, recursion_budget): - die = random.random() - if die < 0.5: - literal = random.choice(["[]", "[1, 2]", "[1.5, 2.5]", - "['a', 'b', 1, true]"]) - return self._Variable(name, literal) - else: - new = random.choice(["", "new "]) - length = random.randint(0, 101000) - return self._Variable(name, "%sArray(%d)" % (new, length)) - - def _PlainObject(self, name, recursion_budget): - die = random.random() - if die < 0.67: - literal_propcount = random.randint(0, 3) - properties = [] - result = [] - for i in range(literal_propcount): - propname = self._RawRandomPropertyName() - propvalue_name = "%s_lit%d" % (name, i) - result += self._Object(propvalue_name, recursion_budget - 1) - properties.append("\"%s\": %s" % (propname, propvalue_name)) - return result + self._Variable(name, "{%s}" % ", ".join(properties)) - else: - return self._Variable(name, "new Object()") - - def _JSArray(self, name, recursion_budget): - result = self._PlainArray(name, recursion_budget) - self._AddAccessors(name, result, recursion_budget) - self._AddProperties(name, result, recursion_budget) - self._AddElements(name, result, recursion_budget) - return result - - def _RawRandomBufferLength(self): - if random.random() < 0.2: - return random.choice([0, 1, 8, 0x40000000, 0x80000000]) - return random.randint(0, 1000) - - def _JSArrayBuffer(self, name, recursion_budget): - length = self._RawRandomBufferLength() - return self._Variable(name, "new ArrayBuffer(%d)" % length) - - def _JSDataView(self, name, recursion_budget): - buffer_name = name + "_buffer" - result = self._JSArrayBuffer(buffer_name, recursion_budget) - args = [buffer_name] - die = random.random() - if die < 0.67: - offset = self._RawRandomBufferLength() - args.append("%d" % offset) - if die < 0.33: - length = self._RawRandomBufferLength() - args.append("%d" % length) - result += self._Variable(name, "new DataView(%s)" % ", ".join(args), - fallback="new DataView(new ArrayBuffer(8))") - return result - - def _JSDate(self, name, recursion_budget): - die = random.random() - if die < 0.25: - return self._Variable(name, "new Date()") - elif die < 0.5: - ms_name = name + "_ms" - result = self._Number(ms_name, recursion_budget) - return result + self._Variable(name, "new Date(%s)" % ms_name) - elif die < 0.75: - str_name = name + "_str" - month = random.choice(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", - "Aug", "Sep", "Oct", "Nov", "Dec"]) - day = random.randint(1, 28) - year = random.randint(1900, 2100) - hour = random.randint(0, 23) - minute = random.randint(0, 59) - second = random.randint(0, 59) - str_value = ("\"%s %s, %s %s:%s:%s\"" % - (month, day, year, hour, minute, second)) - result = self._Variable(str_name, str_value) - return result + self._Variable(name, "new Date(%s)" % str_name) - else: - components = tuple(map(lambda x: "%s_%s" % (name, x), - ["y", "m", "d", "h", "min", "s", "ms"])) - return ([j for i in map(self._Int32, components) for j in i] + - self._Variable(name, "new Date(%s)" % ", ".join(components))) - - def _PlainFunction(self, name, recursion_budget): - result_name = "result" - body = ["function() {"] - body += self._Object(result_name, recursion_budget - 1) - body.append("return result;\n}") - return self._Variable(name, "%s" % "\n".join(body)) - - def _JSFunction(self, name, recursion_budget): - result = self._PlainFunction(name, recursion_budget) - self._AddAccessors(name, result, recursion_budget) - self._AddProperties(name, result, recursion_budget) - self._AddElements(name, result, recursion_budget) - return result - - def _JSFunctionProxy(self, name, recursion_budget): - # TODO(jkummerow): Revisit this as the Proxy implementation evolves. - return self._Variable(name, "Proxy.createFunction(%s, function() {})" % - self.PROXY_TRAPS) - - def _JSGeneratorObject(self, name, recursion_budget): - # TODO(jkummerow): Be more creative here? - return self._Variable(name, "(function*() { yield 1; })()") - - def _JSMap(self, name, recursion_budget, weak=""): - result = self._Variable(name, "new %sMap()" % weak) - num_entries = random.randint(0, 3) - for i in range(num_entries): - key_name = "%s_k%d" % (name, i) - value_name = "%s_v%d" % (name, i) - if weak: - result += self._JSObject(key_name, recursion_budget - 1) - else: - result += self._Object(key_name, recursion_budget - 1) - result += self._Object(value_name, recursion_budget - 1) - result.append("%s.set(%s, %s)" % (name, key_name, value_name)) - return result - - def _JSMapIterator(self, name, recursion_budget): - map_name = name + "_map" - result = self._JSMap(map_name, recursion_budget) - iterator_type = random.choice(['keys', 'values', 'entries']) - return (result + self._Variable(name, "%s.%s()" % - (map_name, iterator_type))) - - def _JSProxy(self, name, recursion_budget): - # TODO(jkummerow): Revisit this as the Proxy implementation evolves. - return self._Variable(name, "Proxy.create(%s)" % self.PROXY_TRAPS) - - def _JSRegExp(self, name, recursion_budget): - flags = random.choice(["", "g", "i", "m", "gi"]) - string = "a(b|c)*a" # TODO(jkummerow): Be more creative here? - ctor = random.choice(["/%s/%s", "new RegExp(\"%s\", \"%s\")"]) - return self._Variable(name, ctor % (string, flags)) - - def _JSSet(self, name, recursion_budget, weak=""): - result = self._Variable(name, "new %sSet()" % weak) - num_entries = random.randint(0, 3) - for i in range(num_entries): - element_name = "%s_e%d" % (name, i) - if weak: - result += self._JSObject(element_name, recursion_budget - 1) - else: - result += self._Object(element_name, recursion_budget - 1) - result.append("%s.add(%s)" % (name, element_name)) - return result - - def _JSSetIterator(self, name, recursion_budget): - set_name = name + "_set" - result = self._JSSet(set_name, recursion_budget) - iterator_type = random.choice(['values', 'entries']) - return (result + self._Variable(name, "%s.%s()" % - (set_name, iterator_type))) - - def _JSTypedArray(self, name, recursion_budget): - arraytype = random.choice(["Int8", "Int16", "Int32", "Uint8", "Uint16", - "Uint32", "Float32", "Float64", "Uint8Clamped"]) - ctor_type = random.randint(0, 3) - if ctor_type == 0: - length = random.randint(0, 1000) - return self._Variable(name, "new %sArray(%d)" % (arraytype, length), - fallback="new %sArray(8)" % arraytype) - elif ctor_type == 1: - input_name = name + "_typedarray" - result = self._JSTypedArray(input_name, recursion_budget - 1) - return (result + - self._Variable(name, "new %sArray(%s)" % (arraytype, input_name), - fallback="new %sArray(8)" % arraytype)) - elif ctor_type == 2: - arraylike_name = name + "_arraylike" - result = self._JSObject(arraylike_name, recursion_budget - 1) - length = random.randint(0, 1000) - result.append("try { %s.length = %d; } catch(e) {}" % - (arraylike_name, length)) - return (result + - self._Variable(name, - "new %sArray(%s)" % (arraytype, arraylike_name), - fallback="new %sArray(8)" % arraytype)) - else: - die = random.random() - buffer_name = name + "_buffer" - args = [buffer_name] - result = self._JSArrayBuffer(buffer_name, recursion_budget) - if die < 0.67: - offset_name = name + "_offset" - args.append(offset_name) - result += self._Int32(offset_name) - if die < 0.33: - length_name = name + "_length" - args.append(length_name) - result += self._Int32(length_name) - return (result + - self._Variable(name, - "new %sArray(%s)" % (arraytype, ", ".join(args)), - fallback="new %sArray(8)" % arraytype)) - - def _JSArrayBufferView(self, name, recursion_budget): - if random.random() < 0.4: - return self._JSDataView(name, recursion_budget) - else: - return self._JSTypedArray(name, recursion_budget) - - def _JSWeakCollection(self, name, recursion_budget): - ctor = random.choice([self._JSMap, self._JSSet]) - return ctor(name, recursion_budget, weak="Weak") - - def _PropertyDetails(self, name, recursion_budget): - # TODO(jkummerow): Be more clever here? - return self._Int32(name) - - def _JSObject(self, name, recursion_budget): - die = random.random() - if die < 0.4: - function = random.choice([self._PlainObject, self._PlainArray, - self._PlainFunction]) - elif die < 0.5: - return self._Variable(name, "this") # Global object. - else: - function = random.choice([self._JSArrayBuffer, self._JSDataView, - self._JSDate, self._JSFunctionProxy, - self._JSGeneratorObject, self._JSMap, - self._JSMapIterator, self._JSRegExp, - self._JSSet, self._JSSetIterator, - self._JSTypedArray, self._JSValue, - self._JSWeakCollection]) - result = function(name, recursion_budget) - self._AddAccessors(name, result, recursion_budget) - self._AddProperties(name, result, recursion_budget) - self._AddElements(name, result, recursion_budget) - return result - - def _JSReceiver(self, name, recursion_budget): - if random.random() < 0.9: return self._JSObject(name, recursion_budget) - return self._JSProxy(name, recursion_budget) - - def _HeapObject(self, name, recursion_budget): - die = random.random() - if die < 0.9: return self._JSReceiver(name, recursion_budget) - elif die < 0.95: return self._Oddball(name, recursion_budget) - else: return self._Name(name, recursion_budget) - - def _Object(self, name, recursion_budget): - if recursion_budget <= 0: - function = random.choice([self._Oddball, self._Number, self._Name, - self._JSValue, self._JSRegExp]) - return function(name, recursion_budget) - if random.random() < 0.2: - return self._Smi(name, recursion_budget) - return self._HeapObject(name, recursion_budget) - - GENERATORS = { - "Boolean": ["true", _Boolean], - "HeapObject": ["new Object()", _HeapObject], - "Int32": ["32", _Int32], - "JSArray": ["new Array()", _JSArray], - "JSArrayBuffer": ["new ArrayBuffer(8)", _JSArrayBuffer], - "JSArrayBufferView": ["new Int32Array(2)", _JSArrayBufferView], - "JSDataView": ["new DataView(new ArrayBuffer(24))", _JSDataView], - "JSDate": ["new Date()", _JSDate], - "JSFunction": ["function() {}", _JSFunction], - "JSFunctionProxy": ["Proxy.createFunction({}, function() {})", - _JSFunctionProxy], - "JSGeneratorObject": ["(function*(){ yield 1; })()", _JSGeneratorObject], - "JSMap": ["new Map()", _JSMap], - "JSMapIterator": ["new Map().entries()", _JSMapIterator], - "JSObject": ["new Object()", _JSObject], - "JSProxy": ["Proxy.create({})", _JSProxy], - "JSReceiver": ["new Object()", _JSReceiver], - "JSRegExp": ["/ab/g", _JSRegExp], - "JSSet": ["new Set()", _JSSet], - "JSSetIterator": ["new Set().values()", _JSSetIterator], - "JSTypedArray": ["new Int32Array(2)", _JSTypedArray], - "JSValue": ["new String('foo')", _JSValue], - "JSWeakCollection": ["new WeakMap()", _JSWeakCollection], - "Name": ["\"name\"", _Name], - "Number": ["1.5", _Number], - "Object": ["new Object()", _Object], - "PropertyDetails": ["513", _PropertyDetails], - "SeqOneByteString": ["\"seq 1-byte\"", _SeqString], - "SeqString": ["\"seqstring\"", _SeqString], - "SeqTwoByteString": ["\"seq \\u2082-byte\"", _SeqTwoByteString], - "Smi": ["1", _Smi], - "StrictMode": ["1", _StrictMode], - "String": ["\"foo\"", _String], - "Symbol": ["Symbol(\"symbol\")", _Symbol], - "Uint32": ["32", _Uint32], - } - - -class ArgParser(object): - def __init__(self, regex, ctor): - self.regex = regex - self.ArgCtor = ctor - - -class Arg(object): - def __init__(self, typename, varname, index): - self.type = typename - self.name = "_%s" % varname - self.index = index - - -class Function(object): - def __init__(self, match): - self.name = match.group(1) - self.argslength = -1 - self.args = {} - self.inline = "" - - handle_arg_parser = ArgParser( - re.compile("^\s*CONVERT_ARG_HANDLE_CHECKED\((\w+), (\w+), (\d+)\)"), - lambda match: Arg(match.group(1), match.group(2), int(match.group(3)))) - - plain_arg_parser = ArgParser( - re.compile("^\s*CONVERT_ARG_CHECKED\((\w+), (\w+), (\d+)\)"), - lambda match: Arg(match.group(1), match.group(2), int(match.group(3)))) - - number_handle_arg_parser = ArgParser( - re.compile("^\s*CONVERT_NUMBER_ARG_HANDLE_CHECKED\((\w+), (\d+)\)"), - lambda match: Arg("Number", match.group(1), int(match.group(2)))) - - smi_arg_parser = ArgParser( - re.compile("^\s*CONVERT_SMI_ARG_CHECKED\((\w+), (\d+)\)"), - lambda match: Arg("Smi", match.group(1), int(match.group(2)))) - - double_arg_parser = ArgParser( - re.compile("^\s*CONVERT_DOUBLE_ARG_CHECKED\((\w+), (\d+)\)"), - lambda match: Arg("Number", match.group(1), int(match.group(2)))) - - number_arg_parser = ArgParser( - re.compile( - "^\s*CONVERT_NUMBER_CHECKED\(\w+, (\w+), (\w+), args\[(\d+)\]\)"), - lambda match: Arg(match.group(2), match.group(1), int(match.group(3)))) - - strict_mode_arg_parser = ArgParser( - re.compile("^\s*CONVERT_STRICT_MODE_ARG_CHECKED\((\w+), (\d+)\)"), - lambda match: Arg("StrictMode", match.group(1), int(match.group(2)))) - - boolean_arg_parser = ArgParser( - re.compile("^\s*CONVERT_BOOLEAN_ARG_CHECKED\((\w+), (\d+)\)"), - lambda match: Arg("Boolean", match.group(1), int(match.group(2)))) - - property_details_parser = ArgParser( - re.compile("^\s*CONVERT_PROPERTY_DETAILS_CHECKED\((\w+), (\d+)\)"), - lambda match: Arg("PropertyDetails", match.group(1), int(match.group(2)))) - - arg_parsers = [handle_arg_parser, plain_arg_parser, number_handle_arg_parser, - smi_arg_parser, - double_arg_parser, number_arg_parser, strict_mode_arg_parser, - boolean_arg_parser, property_details_parser] - - def SetArgsLength(self, match): - self.argslength = int(match.group(1)) - - def TryParseArg(self, line): - for parser in Function.arg_parsers: - match = parser.regex.match(line) - if match: - arg = parser.ArgCtor(match) - self.args[arg.index] = arg - return True - return False - - def Filename(self): - return "%s.js" % self.name.lower() - - def __str__(self): - s = [self.name, "("] - argcount = self.argslength - if argcount < 0: - print("WARNING: unknown argslength for function %s" % self.name) - if self.args: - argcount = max([self.args[i].index + 1 for i in self.args]) - else: - argcount = 0 - for i in range(argcount): - if i > 0: s.append(", ") - s.append(self.args[i].type if i in self.args else "") - s.append(")") - return "".join(s) - - -class Macro(object): - def __init__(self, match): - self.name = match.group(1) - self.args = [s.strip() for s in match.group(2).split(",")] - self.lines = [] - self.indentation = 0 - self.AddLine(match.group(3)) - - def AddLine(self, line): - if not line: return - if not self.lines: - # This is the first line, detect indentation. - self.indentation = len(line) - len(line.lstrip()) - line = line.rstrip("\\\n ") - if not line: return - assert len(line[:self.indentation].strip()) == 0, \ - ("expected whitespace: '%s', full line: '%s'" % - (line[:self.indentation], line)) - line = line[self.indentation:] - if not line: return - self.lines.append(line + "\n") - - def Finalize(self): - for arg in self.args: - pattern = re.compile(r"(##|\b)%s(##|\b)" % arg) - for i in range(len(self.lines)): - self.lines[i] = re.sub(pattern, "%%(%s)s" % arg, self.lines[i]) - - def FillIn(self, arg_values): - filler = {} - assert len(arg_values) == len(self.args) - for i in range(len(self.args)): - filler[self.args[i]] = arg_values[i] - result = [] - for line in self.lines: - result.append(line % filler) - return result - - -# Parses HEADERFILENAME to find out which runtime functions are "inline". -def FindInlineRuntimeFunctions(): - inline_functions = [] - with open(HEADERFILENAME, "r") as f: - inline_list = "#define INLINE_FUNCTION_LIST(F) \\\n" - inline_function = re.compile(r"^\s*F\((\w+), \d+, \d+\)\s*\\?") - mode = "SEARCHING" - for line in f: - if mode == "ACTIVE": - match = inline_function.match(line) - if match: - inline_functions.append(match.group(1)) - if not line.endswith("\\\n"): - mode = "SEARCHING" - elif mode == "SEARCHING": - if line == inline_list: - mode = "ACTIVE" - return inline_functions - - -def ReadFileAndExpandMacros(filename): - found_macros = {} - expanded_lines = [] - with open(filename, "r") as f: - found_macro = None - for line in f: - if found_macro is not None: - found_macro.AddLine(line) - if not line.endswith("\\\n"): - found_macro.Finalize() - found_macro = None - continue - - match = MACRO.match(line) - if match: - found_macro = Macro(match) - if found_macro.name in EXPAND_MACROS: - found_macros[found_macro.name] = found_macro - else: - found_macro = None - continue - - match = FIRST_WORD.match(line) - if match: - first_word = match.group(1) - if first_word in found_macros: - MACRO_CALL = re.compile("%s\(([^)]*)\)" % first_word) - match = MACRO_CALL.match(line) - assert match - args = [s.strip() for s in match.group(1).split(",")] - expanded_lines += found_macros[first_word].FillIn(args) - continue - - expanded_lines.append(line) - return expanded_lines - - -# Detects runtime functions by parsing FILENAME. -def FindRuntimeFunctions(): - inline_functions = FindInlineRuntimeFunctions() - functions = [] - expanded_lines = ReadFileAndExpandMacros(FILENAME) - function = None - partial_line = "" - for line in expanded_lines: - # Multi-line definition support, ignoring macros. - if line.startswith("RUNTIME_FUNCTION") and not line.endswith("{\n"): - if line.endswith("\\\n"): continue - partial_line = line.rstrip() - continue - if partial_line: - partial_line += " " + line.strip() - if partial_line.endswith("{"): - line = partial_line - partial_line = "" - else: - continue - - match = FUNCTION.match(line) - if match: - function = Function(match) - if function.name in inline_functions: - function.inline = "_" - continue - if function is None: continue - - match = ARGSLENGTH.match(line) - if match: - function.SetArgsLength(match) - continue - - if function.TryParseArg(line): - continue - - if line == FUNCTIONEND: - if function is not None: - functions.append(function) - function = None - return functions - - -# Hack: This must have the same fields as class Function above, because the -# two are used polymorphically in RunFuzzer(). We could use inheritance... -class Builtin(object): - def __init__(self, match): - self.name = match.group(1) - args = match.group(2) - self.argslength = 0 if args == "" else args.count(",") + 1 - self.inline = "" - self.args = {} - if self.argslength > 0: - args = args.split(",") - for i in range(len(args)): - # a = args[i].strip() # TODO: filter out /* comments */ first. - a = "" - self.args[i] = Arg("Object", a, i) - - def __str__(self): - return "%s(%d)" % (self.name, self.argslength) - - -def FindJSBuiltins(): - PATH = "src" - fileslist = [] - for (root, dirs, files) in os.walk(PATH): - for f in files: - if f.endswith(".js"): - fileslist.append(os.path.join(root, f)) - builtins = [] - regexp = re.compile("^function (\w+)\s*\((.*?)\) {") - matches = 0 - for filename in fileslist: - with open(filename, "r") as f: - file_contents = f.read() - file_contents = js2c.ExpandInlineMacros(file_contents) - lines = file_contents.split("\n") - partial_line = "" - for line in lines: - if line.startswith("function") and not '{' in line: - partial_line += line.rstrip() - continue - if partial_line: - partial_line += " " + line.strip() - if '{' in line: - line = partial_line - partial_line = "" - else: - continue - match = regexp.match(line) - if match: - builtins.append(Builtin(match)) - return builtins - - -# Classifies runtime functions. -def ClassifyFunctions(functions): - # Can be fuzzed with a JavaScript testcase. - js_fuzzable_functions = [] - # We have enough information to fuzz these, but they need inputs that - # cannot be created or passed around in JavaScript. - cctest_fuzzable_functions = [] - # This script does not have enough information about these. - unknown_functions = [] - - types = {} - for f in functions: - if f.name in BLACKLISTED: - continue - decision = js_fuzzable_functions - custom = CUSTOM_KNOWN_GOOD_INPUT.get(f.name, None) - if f.argslength < 0: - # Unknown length -> give up unless there's a custom definition. - if custom and custom[-1] is not None: - f.argslength = custom[-1] - assert len(custom) == f.argslength + 1, \ - ("%s: last custom definition must be argslength" % f.name) - else: - decision = unknown_functions - else: - if custom: - # Any custom definitions must match the known argslength. - assert len(custom) == f.argslength + 1, \ - ("%s should have %d custom definitions but has %d" % - (f.name, f.argslength + 1, len(custom))) - for i in range(f.argslength): - if custom and custom[i] is not None: - # All good, there's a custom definition. - pass - elif not i in f.args: - # No custom definition and no parse result -> give up. - decision = unknown_functions - else: - t = f.args[i].type - if t in NON_JS_TYPES: - decision = cctest_fuzzable_functions - else: - assert Generator.IsTypeSupported(t), \ - ("type generator not found for %s, function: %s" % (t, f)) - decision.append(f) - return (js_fuzzable_functions, cctest_fuzzable_functions, unknown_functions) - - -def _GetKnownGoodArgs(function, generator): - custom_input = CUSTOM_KNOWN_GOOD_INPUT.get(function.name, None) - definitions = [] - argslist = [] - for i in range(function.argslength): - if custom_input and custom_input[i] is not None: - name = "arg%d" % i - definitions.append("var %s = %s;" % (name, custom_input[i])) - else: - arg = function.args[i] - name = arg.name - definitions += generator.RandomVariable(name, arg.type, simple=True) - argslist.append(name) - return (definitions, argslist) - - -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 --harmony-proxies" - ] + definitions - call = "%%%s%s(%s);" % (function.inline, function.name, ", ".join(argslist)) - if throws: - s.append("try {") - s.append(call); - s.append("} catch(e) {}") - else: - s.append(call) - testcase = "\n".join(s) - return testcase - - -def GenerateJSTestcaseForFunction(function): - gen = Generator() - (definitions, argslist) = _GetKnownGoodArgs(function, gen) - testcase = _GenerateTestcase(function, definitions, argslist, - function.name in THROWS) - path = os.path.join(BASEPATH, function.Filename()) - with open(path, "w") as f: - f.write("%s\n" % testcase) - - -def GenerateTestcases(functions): - shutil.rmtree(BASEPATH) # Re-generate everything. - os.makedirs(BASEPATH) - for f in functions: - GenerateJSTestcaseForFunction(f) - - -def _SaveFileName(save_path, process_id, save_file_index): - return "%s/fuzz_%d_%d.js" % (save_path, process_id, save_file_index) - - -def _GetFuzzableRuntimeFunctions(): - functions = FindRuntimeFunctions() - (js_fuzzable_functions, cctest_fuzzable_functions, unknown_functions) = \ - ClassifyFunctions(functions) - return js_fuzzable_functions - - -FUZZ_TARGET_LISTS = { - "runtime": _GetFuzzableRuntimeFunctions, - "builtins": FindJSBuiltins, -} - - -def RunFuzzer(process_id, options, stop_running): - MAX_SLEEP_TIME = 0.1 - INITIAL_SLEEP_TIME = 0.001 - SLEEP_TIME_FACTOR = 1.25 - base_file_name = "/dev/shm/runtime_fuzz_%d" % process_id - test_file_name = "%s.js" % base_file_name - stderr_file_name = "%s.out" % base_file_name - save_file_index = 0 - while os.path.exists(_SaveFileName(options.save_path, process_id, - save_file_index)): - save_file_index += 1 - - targets = FUZZ_TARGET_LISTS[options.fuzz_target]() - try: - for i in range(options.num_tests): - if stop_running.is_set(): break - function = None - while function is None or function.argslength == 0: - function = random.choice(targets) - args = [] - definitions = [] - gen = Generator() - for i in range(function.argslength): - arg = function.args[i] - argname = "arg%d%s" % (i, arg.name) - args.append(argname) - definitions += gen.RandomVariable(argname, arg.type, simple=False) - testcase = _GenerateTestcase(function, definitions, args, True) - with open(test_file_name, "w") as f: - f.write("%s\n" % testcase) - with open("/dev/null", "w") as devnull: - with open(stderr_file_name, "w") as stderr: - process = subprocess.Popen( - [options.binary, "--allow-natives-syntax", "--harmony", - "--harmony-proxies", "--enable-slow-asserts", test_file_name], - stdout=devnull, stderr=stderr) - end_time = time.time() + options.timeout - timed_out = False - exit_code = None - sleep_time = INITIAL_SLEEP_TIME - while exit_code is None: - if time.time() >= end_time: - # Kill the process and wait for it to exit. - os.kill(process.pid, signal.SIGTERM) - exit_code = process.wait() - timed_out = True - else: - exit_code = process.poll() - time.sleep(sleep_time) - sleep_time = sleep_time * SLEEP_TIME_FACTOR - if sleep_time > MAX_SLEEP_TIME: - sleep_time = MAX_SLEEP_TIME - if exit_code != 0 and not timed_out: - oom = False - with open(stderr_file_name, "r") as stderr: - for line in stderr: - if line.strip() == "# Allocation failed - process out of memory": - oom = True - break - if oom: continue - save_name = _SaveFileName(options.save_path, process_id, - save_file_index) - shutil.copyfile(test_file_name, save_name) - save_file_index += 1 - except KeyboardInterrupt: - stop_running.set() - finally: - if os.path.exists(test_file_name): - os.remove(test_file_name) - if os.path.exists(stderr_file_name): - os.remove(stderr_file_name) - - -def BuildOptionParser(): - usage = """Usage: %%prog [options] ACTION - -where ACTION can be: - -info Print diagnostic info. -check Check that runtime functions can be parsed as expected, and that - test cases exist. -generate Parse source code for runtime functions, and auto-generate - test cases for them. Warning: this will nuke and re-create - %(path)s. -fuzz Generate fuzz tests, run them, save those that crashed (see options). -""" % {"path": os.path.relpath(BASEPATH)} - - o = optparse.OptionParser(usage=usage) - o.add_option("--binary", default="out/x64.debug/d8", - help="d8 binary used for running fuzz tests (default: %default)") - o.add_option("--fuzz-target", default="runtime", - help="Set of functions targeted by fuzzing. Allowed values: " - "%s (default: %%default)" % ", ".join(FUZZ_TARGET_LISTS)) - o.add_option("-n", "--num-tests", default=1000, type="int", - help="Number of fuzz tests to generate per worker process" - " (default: %default)") - o.add_option("--save-path", default="~/runtime_fuzz_output", - help="Path to directory where failing tests will be stored" - " (default: %default)") - o.add_option("--timeout", default=20, type="int", - help="Timeout for each fuzz test (in seconds, default:" - "%default)") - return o - - -def ProcessOptions(options, args): - options.save_path = os.path.expanduser(options.save_path) - if options.fuzz_target not in FUZZ_TARGET_LISTS: - print("Invalid fuzz target: %s" % options.fuzz_target) - return False - if len(args) != 1 or args[0] == "help": - return False - return True - - -def Main(): - parser = BuildOptionParser() - (options, args) = parser.parse_args() - - if not ProcessOptions(options, args): - parser.print_help() - return 1 - action = args[0] - - functions = FindRuntimeFunctions() - (js_fuzzable_functions, cctest_fuzzable_functions, unknown_functions) = \ - ClassifyFunctions(functions) - builtins = FindJSBuiltins() - - if action == "test": - print("put your temporary debugging code here") - return 0 - - if action == "info": - print("%d functions total; js_fuzzable_functions: %d, " - "cctest_fuzzable_functions: %d, unknown_functions: %d" - % (len(functions), len(js_fuzzable_functions), - len(cctest_fuzzable_functions), len(unknown_functions))) - print("%d JavaScript builtins" % len(builtins)) - print("unknown functions:") - for f in unknown_functions: - print(f) - return 0 - - if action == "check": - errors = 0 - - def CheckCount(actual, expected, description): - if len(actual) != expected: - print("Expected to detect %d %s, but found %d." % ( - expected, description, len(actual))) - print("If this change is intentional, please update the expectations" - " at the top of %s." % THIS_SCRIPT) - return 1 - return 0 - - errors += CheckCount(functions, EXPECTED_FUNCTION_COUNT, - "functions in total") - errors += CheckCount(js_fuzzable_functions, EXPECTED_FUZZABLE_COUNT, - "JavaScript-fuzzable functions") - errors += CheckCount(cctest_fuzzable_functions, EXPECTED_CCTEST_COUNT, - "cctest-fuzzable functions") - errors += CheckCount(unknown_functions, EXPECTED_UNKNOWN_COUNT, - "functions with incomplete type information") - errors += CheckCount(builtins, EXPECTED_BUILTINS_COUNT, - "JavaScript builtins") - - def CheckTestcasesExisting(functions): - errors = 0 - for f in functions: - if not os.path.isfile(os.path.join(BASEPATH, f.Filename())): - print("Missing testcase for %s, please run '%s generate'" % - (f.name, THIS_SCRIPT)) - errors += 1 - files = filter(lambda filename: not filename.startswith("."), - os.listdir(BASEPATH)) - if (len(files) != len(functions)): - unexpected_files = set(files) - set([f.Filename() for f in functions]) - for f in unexpected_files: - print("Unexpected testcase: %s" % os.path.join(BASEPATH, f)) - errors += 1 - print("Run '%s generate' to automatically clean these up." - % THIS_SCRIPT) - return errors - - errors += CheckTestcasesExisting(js_fuzzable_functions) - - def CheckNameClashes(runtime_functions, builtins): - errors = 0 - runtime_map = {} - for f in runtime_functions: - runtime_map[f.name] = 1 - for b in builtins: - if b.name in runtime_map: - print("Builtin/Runtime_Function name clash: %s" % b.name) - errors += 1 - return errors - - errors += CheckNameClashes(functions, builtins) - - if errors > 0: - return 1 - print("Generated runtime tests: all good.") - return 0 - - if action == "generate": - GenerateTestcases(js_fuzzable_functions) - return 0 - - if action == "fuzz": - processes = [] - if not os.path.isdir(options.save_path): - os.makedirs(options.save_path) - stop_running = multiprocessing.Event() - for i in range(multiprocessing.cpu_count()): - args = (i, options, stop_running) - p = multiprocessing.Process(target=RunFuzzer, args=args) - p.start() - processes.append(p) - try: - for i in range(len(processes)): - processes[i].join() - except KeyboardInterrupt: - stop_running.set() - for i in range(len(processes)): - processes[i].join() - return 0 - -if __name__ == "__main__": - sys.exit(Main()) diff --git a/tools/presubmit.py b/tools/presubmit.py index 73fe587..8a6ff2a 100755 --- a/tools/presubmit.py +++ b/tools/presubmit.py @@ -417,10 +417,9 @@ class SourceProcessor(SourceFileProcessor): return success -def CheckGeneratedRuntimeTests(workspace): +def CheckRuntimeVsNativesNameClashes(workspace): code = subprocess.call( - [sys.executable, join(workspace, "tools", "generate-runtime-tests.py"), - "check"]) + [sys.executable, join(workspace, "tools", "check-name-clashes.py")]) return code == 0 @@ -448,7 +447,7 @@ def Main(): print "Running copyright header, trailing whitespaces and " \ "two empty lines between declarations check..." success = SourceProcessor().Run(workspace) and success - success = CheckGeneratedRuntimeTests(workspace) and success + success = CheckRuntimeVsNativesNameClashes(workspace) and success success = CheckExternalReferenceRegistration(workspace) and success if success: return 0