Revision: 22814
Author: [email protected]
Date: Mon Aug 4 11:45:52 2014 UTC
Log: Fix tools/generate-runtime-tests.py.
[email protected]
Review URL: https://codereview.chromium.org/436223003
http://code.google.com/p/v8/source/detail?r=22814
Deleted:
/branches/bleeding_edge/test/mjsunit/runtime-gen/addnamedproperty.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/addpropertyfortemplate.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/getoptimizationstatus.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/initializevarglobal.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/internalizestring.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/optimizefunctiononnextcall.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/sethiddenproperty.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/setinlinebuiltinflag.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/setnativeflag.js
/branches/bleeding_edge/test/mjsunit/runtime-gen/setproperty.js
Modified:
/branches/bleeding_edge/tools/generate-runtime-tests.py
=======================================
--- /branches/bleeding_edge/test/mjsunit/runtime-gen/addnamedproperty.js
Mon Jul 14 14:05:30 2014 UTC
+++ /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
-var _object = new Object();
-var arg1 = "bla";
-var _value = new Object();
-var _unchecked_attributes = 1;
-%AddNamedProperty(_object, arg1, _value, _unchecked_attributes);
=======================================
---
/branches/bleeding_edge/test/mjsunit/runtime-gen/addpropertyfortemplate.js
Tue Jul 1 10:00:19 2014 UTC
+++ /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
-var _object = new Object();
-var arg1 = 10;
-var _value = new Object();
-var _unchecked_attributes = 1;
-%AddPropertyForTemplate(_object, arg1, _value, _unchecked_attributes);
=======================================
---
/branches/bleeding_edge/test/mjsunit/runtime-gen/getoptimizationstatus.js
Thu May 8 13:11:59 2014 UTC
+++ /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
-var _function = function() {};
-var _sync = "foo";
-%GetOptimizationStatus(_function, _sync);
=======================================
--- /branches/bleeding_edge/test/mjsunit/runtime-gen/initializevarglobal.js
Thu May 8 13:11:59 2014 UTC
+++ /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
-var _name = "foo";
-var _strict_mode = 1;
-var _value = new Object();
-%InitializeVarGlobal(_name, _strict_mode, _value);
=======================================
--- /branches/bleeding_edge/test/mjsunit/runtime-gen/internalizestring.js
Sat Jun 28 00:33:04 2014 UTC
+++ /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
-var _string = "foo";
-%InternalizeString(_string);
=======================================
---
/branches/bleeding_edge/test/mjsunit/runtime-gen/optimizefunctiononnextcall.js
Thu May 8 13:11:59 2014 UTC
+++ /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
-var _function = function() {};
-var _type = "foo";
-%OptimizeFunctionOnNextCall(_function, _type);
=======================================
--- /branches/bleeding_edge/test/mjsunit/runtime-gen/sethiddenproperty.js
Thu May 8 13:11:59 2014 UTC
+++ /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
-var _object = new Object();
-var _key = "foo";
-var _value = new Object();
-%SetHiddenProperty(_object, _key, _value);
=======================================
---
/branches/bleeding_edge/test/mjsunit/runtime-gen/setinlinebuiltinflag.js
Thu May 8 13:11:59 2014 UTC
+++ /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
-var _object = new Object();
-%SetInlineBuiltinFlag(_object);
=======================================
--- /branches/bleeding_edge/test/mjsunit/runtime-gen/setnativeflag.js Thu
May 8 13:11:59 2014 UTC
+++ /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
-var _object = new Object();
-%SetNativeFlag(_object);
=======================================
--- /branches/bleeding_edge/test/mjsunit/runtime-gen/setproperty.js Fri Jun
27 13:48:37 2014 UTC
+++ /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
-var _object = new Object();
-var _key = new Object();
-var _value = new Object();
-var _strict_mode_arg = 1;
-%SetProperty(_object, _key, _value, _strict_mode_arg);
=======================================
--- /branches/bleeding_edge/tools/generate-runtime-tests.py Fri Aug 1
09:23:07 2014 UTC
+++ /branches/bleeding_edge/tools/generate-runtime-tests.py Mon Aug 4
11:45:52 2014 UTC
@@ -20,7 +20,7 @@
FILENAME = "src/runtime.cc"
HEADERFILENAME = "src/runtime.h"
FUNCTION = re.compile("^RUNTIME_FUNCTION\(Runtime_(\w+)")
-ARGSLENGTH = re.compile(".*ASSERT\(.*args\.length\(\) == (\d+)\);")
+ARGSLENGTH = re.compile(".*DCHECK\(.*args\.length\(\) == (\d+)\);")
FUNCTIONEND = "}\n"
MACRO = re.compile(r"^#define ([^ ]+)\(([^)]*)\) *([^\\]*)\\?\n$")
FIRST_WORD = re.compile("^\s*(.*?)[\s({\[]")
@@ -48,9 +48,9 @@
# remove or change runtime functions, but make sure we don't lose our
ability
# to parse them!
EXPECTED_FUNCTION_COUNT = 425
-EXPECTED_FUZZABLE_COUNT = 338
-EXPECTED_CCTEST_COUNT = 9
-EXPECTED_UNKNOWN_COUNT = 4
+EXPECTED_FUZZABLE_COUNT = 328
+EXPECTED_CCTEST_COUNT = 7
+EXPECTED_UNKNOWN_COUNT = 16
EXPECTED_BUILTINS_COUNT = 816
@@ -58,7 +58,7 @@
BLACKLISTED = [
"Abort", # Kills the process.
"AbortJS", # Kills the process.
- "CompileForOnStackReplacement", # Riddled with ASSERTs.
+ "CompileForOnStackReplacement", # Riddled with DCHECK.
"IS_VAR", # Not implemented in the runtime.
"ListNatives", # Not available in Release mode.
"SetAllocationTimeout", # Too slow for fuzzing.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.