Fix tools/generate-runtime-tests.py.
TBR=svenpanne@chromium.org Review URL: https://codereview.chromium.org/436223003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22814 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1b758c5e52
commit
0bd7c29dbf
@ -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
|
|
||||||
var _object = new Object();
|
|
||||||
var arg1 = "bla";
|
|
||||||
var _value = new Object();
|
|
||||||
var _unchecked_attributes = 1;
|
|
||||||
%AddNamedProperty(_object, arg1, _value, _unchecked_attributes);
|
|
@ -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
|
|
||||||
var _object = new Object();
|
|
||||||
var arg1 = 10;
|
|
||||||
var _value = new Object();
|
|
||||||
var _unchecked_attributes = 1;
|
|
||||||
%AddPropertyForTemplate(_object, arg1, _value, _unchecked_attributes);
|
|
@ -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
|
|
||||||
var _function = function() {};
|
|
||||||
var _sync = "foo";
|
|
||||||
%GetOptimizationStatus(_function, _sync);
|
|
@ -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
|
|
||||||
var _name = "foo";
|
|
||||||
var _strict_mode = 1;
|
|
||||||
var _value = new Object();
|
|
||||||
%InitializeVarGlobal(_name, _strict_mode, _value);
|
|
@ -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
|
|
||||||
var _string = "foo";
|
|
||||||
%InternalizeString(_string);
|
|
@ -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
|
|
||||||
var _function = function() {};
|
|
||||||
var _type = "foo";
|
|
||||||
%OptimizeFunctionOnNextCall(_function, _type);
|
|
@ -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
|
|
||||||
var _object = new Object();
|
|
||||||
var _key = "foo";
|
|
||||||
var _value = new Object();
|
|
||||||
%SetHiddenProperty(_object, _key, _value);
|
|
@ -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
|
|
||||||
var _object = new Object();
|
|
||||||
%SetInlineBuiltinFlag(_object);
|
|
@ -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
|
|
||||||
var _object = new Object();
|
|
||||||
%SetNativeFlag(_object);
|
|
@ -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
|
|
||||||
var _object = new Object();
|
|
||||||
var _key = new Object();
|
|
||||||
var _value = new Object();
|
|
||||||
var _strict_mode_arg = 1;
|
|
||||||
%SetProperty(_object, _key, _value, _strict_mode_arg);
|
|
@ -20,7 +20,7 @@ import time
|
|||||||
FILENAME = "src/runtime.cc"
|
FILENAME = "src/runtime.cc"
|
||||||
HEADERFILENAME = "src/runtime.h"
|
HEADERFILENAME = "src/runtime.h"
|
||||||
FUNCTION = re.compile("^RUNTIME_FUNCTION\(Runtime_(\w+)")
|
FUNCTION = re.compile("^RUNTIME_FUNCTION\(Runtime_(\w+)")
|
||||||
ARGSLENGTH = re.compile(".*ASSERT\(.*args\.length\(\) == (\d+)\);")
|
ARGSLENGTH = re.compile(".*DCHECK\(.*args\.length\(\) == (\d+)\);")
|
||||||
FUNCTIONEND = "}\n"
|
FUNCTIONEND = "}\n"
|
||||||
MACRO = re.compile(r"^#define ([^ ]+)\(([^)]*)\) *([^\\]*)\\?\n$")
|
MACRO = re.compile(r"^#define ([^ ]+)\(([^)]*)\) *([^\\]*)\\?\n$")
|
||||||
FIRST_WORD = re.compile("^\s*(.*?)[\s({\[]")
|
FIRST_WORD = re.compile("^\s*(.*?)[\s({\[]")
|
||||||
@ -48,9 +48,9 @@ EXPAND_MACROS = [
|
|||||||
# remove or change runtime functions, but make sure we don't lose our ability
|
# remove or change runtime functions, but make sure we don't lose our ability
|
||||||
# to parse them!
|
# to parse them!
|
||||||
EXPECTED_FUNCTION_COUNT = 425
|
EXPECTED_FUNCTION_COUNT = 425
|
||||||
EXPECTED_FUZZABLE_COUNT = 338
|
EXPECTED_FUZZABLE_COUNT = 328
|
||||||
EXPECTED_CCTEST_COUNT = 9
|
EXPECTED_CCTEST_COUNT = 7
|
||||||
EXPECTED_UNKNOWN_COUNT = 4
|
EXPECTED_UNKNOWN_COUNT = 16
|
||||||
EXPECTED_BUILTINS_COUNT = 816
|
EXPECTED_BUILTINS_COUNT = 816
|
||||||
|
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ EXPECTED_BUILTINS_COUNT = 816
|
|||||||
BLACKLISTED = [
|
BLACKLISTED = [
|
||||||
"Abort", # Kills the process.
|
"Abort", # Kills the process.
|
||||||
"AbortJS", # Kills the process.
|
"AbortJS", # Kills the process.
|
||||||
"CompileForOnStackReplacement", # Riddled with ASSERTs.
|
"CompileForOnStackReplacement", # Riddled with DCHECK.
|
||||||
"IS_VAR", # Not implemented in the runtime.
|
"IS_VAR", # Not implemented in the runtime.
|
||||||
"ListNatives", # Not available in Release mode.
|
"ListNatives", # Not available in Release mode.
|
||||||
"SetAllocationTimeout", # Too slow for fuzzing.
|
"SetAllocationTimeout", # Too slow for fuzzing.
|
||||||
|
Loading…
Reference in New Issue
Block a user