fix webkit tests

r26943 just moved the problem around

TBR=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/963023003

Cr-Commit-Position: refs/heads/master@{#26945}
This commit is contained in:
Dan Carney 2015-03-02 16:49:37 +01:00
parent 964f6a3eb8
commit 1b7cc089ac

View File

@ -98,7 +98,9 @@ namespace v8 {
#define PREPARE_FOR_EXECUTION_GENERIC(context, function_name, bailout_value, \
HandleScopeClass) \
auto isolate = reinterpret_cast<i::Isolate*>(context->GetIsolate()); \
auto isolate = context.IsEmpty() \
? i::Isolate::Current() \
: reinterpret_cast<i::Isolate*>(context->GetIsolate()); \
if (IsExecutionTerminatingCheck(isolate)) { \
return bailout_value; \
} \