From e8ad773b56a94fad2cd8a454453a7214a8ce92d1 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 17 Jan 2015 23:52:52 +0100 Subject: [PATCH] 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 Reviewed-By: Fedor Indutny Reviewed-By: Kenan Sulayman Reviewed-By: Rod Vagg --- src/node.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/node.cc b/src/node.cc index 110fd9fb7d63a2..caf1215b38046d 100644 --- a/src/node.cc +++ b/src/node.cc @@ -3337,14 +3337,6 @@ void Init(int* argc, DispatchDebugMessagesAsyncCallback); uv_unref(reinterpret_cast(&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