src: remove --noharmony_classes again
Now that V8 has been upgraded, remove the --noharmony_classes and --noharmony_object_literals workarounds from commits a2751e3e and 4e58211b. PR-URL: https://github.com/iojs/io.js/pull/490 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Kenan Sulayman <kenan@sly.mn> Reviewed-By: Rod Vagg <rod@vagg.org>
This commit is contained in:
parent
334020e016
commit
e8ad773b56
@ -3337,14 +3337,6 @@ void Init(int* argc,
|
||||
DispatchDebugMessagesAsyncCallback);
|
||||
uv_unref(reinterpret_cast<uv_handle_t*>(&dispatch_debug_messages_async));
|
||||
|
||||
// TODO(bnoordhuis) V8 3.32 is unshipping Harmony classes for the moment.
|
||||
// We're currently at 3.31, disable classes for feature parity. Remove
|
||||
// again when we upgrade.
|
||||
V8::SetFlagsFromString("--noharmony_classes",
|
||||
sizeof("--noharmony_classes") - 1);
|
||||
V8::SetFlagsFromString("--noharmony_object_literals",
|
||||
sizeof("--noharmony_object_literals") - 1);
|
||||
|
||||
#if defined(NODE_V8_OPTIONS)
|
||||
// Should come before the call to V8::SetFlagsFromCommandLine()
|
||||
// so the user can disable a flag --foo at run-time by passing
|
||||
|
Loading…
x
Reference in New Issue
Block a user