FS-11047: [build] support v8 6.6 fixes from Andrey Volk

This commit is contained in:
Mike Jerris authored and Muteesa Fred committed 2018-07-24 07:21:52 +00:00
1 parent 6cfe5e522a
commit 54c2bbeda8
4 files changed
+13 -20

No files matched your search

@@ -127,7 +127,7 @@
/* Macro for basic script state check (to know if the script is being terminated), should be called before calling any callback actual code */
#define JS_CHECK_SCRIPT_STATE() \
if (v8::V8::IsExecutionTerminating(info.GetIsolate())) return;\
if (info.GetIsolate()->IsExecutionTerminating()) return;\
if (JSMain::GetScriptInstanceFromIsolate(info.GetIsolate()) && JSMain::GetScriptInstanceFromIsolate(info.GetIsolate())->GetForcedTermination()) return
/* Macro for easy unlocking an isolate on a long running c call */