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:
parent
964f6a3eb8
commit
1b7cc089ac
@ -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; \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user