Revision: 12988
Author: [email protected]
Date: Fri Nov 16 03:58:21 2012
Log: Fix test failures.
[email protected]
BUG=
Review URL: https://chromiumcodereview.appspot.com/11299033
http://code.google.com/p/v8/source/detail?r=12988
Modified:
/branches/bleeding_edge/src/runtime.cc
/branches/bleeding_edge/test/mjsunit/fuzz-natives-part1.js
=======================================
--- /branches/bleeding_edge/src/runtime.cc Fri Nov 16 02:57:50 2012
+++ /branches/bleeding_edge/src/runtime.cc Fri Nov 16 03:58:21 2012
@@ -7995,6 +7995,7 @@
RUNTIME_FUNCTION(MaybeObject*, Runtime_ForceParallelRecompile) {
+ if (!V8::UseCrankshaft()) return isolate->heap()->undefined_value();
HandleScope handle_scope(isolate);
ASSERT(FLAG_parallel_recompilation &&
FLAG_manual_parallel_recompilation);
if (!isolate->optimizing_compiler_thread()->IsQueueAvailable()) {
@@ -8009,6 +8010,7 @@
RUNTIME_FUNCTION(MaybeObject*, Runtime_InstallRecompiledCode) {
+ if (!V8::UseCrankshaft()) return isolate->heap()->undefined_value();
HandleScope handle_scope(isolate);
ASSERT(FLAG_parallel_recompilation &&
FLAG_manual_parallel_recompilation);
CONVERT_ARG_HANDLE_CHECKED(HeapObject, arg, 0);
=======================================
--- /branches/bleeding_edge/test/mjsunit/fuzz-natives-part1.js Mon Sep 24
03:03:49 2012
+++ /branches/bleeding_edge/test/mjsunit/fuzz-natives-part1.js Fri Nov 16
03:58:21 2012
@@ -195,7 +195,11 @@
// Only applicable to strings.
"_HasCachedArrayIndex": true,
- "_GetCachedArrayIndex": true
+ "_GetCachedArrayIndex": true,
+
+ // Only for debugging parallel recompilation.
+ "InstallRecompiledCode": true,
+ "ForceParallelRecompile": true
};
var currentlyUncallable = {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev