Revert "FS-11048: [build] support v8 6.6 fixes from Andrey Volk"

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

No files matched your search

+2 -2
View File
@@ -645,7 +645,7 @@ static int v8_parse_and_execute(switch_core_session_t *session, const char *inpu
isolate->SetData(0, js);
// New global template
Handle<ObjectTemplate> global = ObjectTemplate::New(isolate);
Handle<ObjectTemplate> global = ObjectTemplate::New();
if (global.IsEmpty()) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Failed to create JS global object template\n");
@@ -793,7 +793,7 @@ static int v8_parse_and_execute(switch_core_session_t *session, const char *inpu
free(path);
}
TryCatch try_catch(isolate);
TryCatch try_catch;
// Compile the source code.
#if defined(V8_MAJOR_VERSION) && V8_MAJOR_VERSION >=5