Reviewers: Sven Panne,

Message:
Committed patchset #1 (id:1) manually as
1b7cc089ac5863d8aa78be7e55a31753f07d3031 (presubmit successful).

Description:
fix webkit tests

r26943 just moved the problem around

[email protected]
BUG=

Committed:
https://chromium.googlesource.com/v8/v8/+/1b7cc089ac5863d8aa78be7e55a31753f07d3031

Please review this at https://codereview.chromium.org/963023003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+3, -1 lines):
  M src/api.cc


Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 04e317b5cfa6eeb9c3d55ba3525563b3547a51d4..38d108d785f3c43e4031a43d4b2aefadedccb2cf 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -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; \ } \


--
--
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.

Reply via email to