Commit af6f7742 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix test failures.

R=jkummerow@chromium.org
BUG=

Review URL: https://chromiumcodereview.appspot.com/11299033

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12988 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 30c82d59
...@@ -7995,6 +7995,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ParallelRecompile) { ...@@ -7995,6 +7995,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ParallelRecompile) {
RUNTIME_FUNCTION(MaybeObject*, Runtime_ForceParallelRecompile) { RUNTIME_FUNCTION(MaybeObject*, Runtime_ForceParallelRecompile) {
if (!V8::UseCrankshaft()) return isolate->heap()->undefined_value();
HandleScope handle_scope(isolate); HandleScope handle_scope(isolate);
ASSERT(FLAG_parallel_recompilation && FLAG_manual_parallel_recompilation); ASSERT(FLAG_parallel_recompilation && FLAG_manual_parallel_recompilation);
if (!isolate->optimizing_compiler_thread()->IsQueueAvailable()) { if (!isolate->optimizing_compiler_thread()->IsQueueAvailable()) {
...@@ -8009,6 +8010,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ForceParallelRecompile) { ...@@ -8009,6 +8010,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_ForceParallelRecompile) {
RUNTIME_FUNCTION(MaybeObject*, Runtime_InstallRecompiledCode) { RUNTIME_FUNCTION(MaybeObject*, Runtime_InstallRecompiledCode) {
if (!V8::UseCrankshaft()) return isolate->heap()->undefined_value();
HandleScope handle_scope(isolate); HandleScope handle_scope(isolate);
ASSERT(FLAG_parallel_recompilation && FLAG_manual_parallel_recompilation); ASSERT(FLAG_parallel_recompilation && FLAG_manual_parallel_recompilation);
CONVERT_ARG_HANDLE_CHECKED(HeapObject, arg, 0); CONVERT_ARG_HANDLE_CHECKED(HeapObject, arg, 0);
......
...@@ -195,7 +195,11 @@ var knownProblems = { ...@@ -195,7 +195,11 @@ var knownProblems = {
// Only applicable to strings. // Only applicable to strings.
"_HasCachedArrayIndex": true, "_HasCachedArrayIndex": true,
"_GetCachedArrayIndex": true "_GetCachedArrayIndex": true,
// Only for debugging parallel recompilation.
"InstallRecompiledCode": true,
"ForceParallelRecompile": true
}; };
var currentlyUncallable = { var currentlyUncallable = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment