From f0be58da89990a9da61ada4c5ecce3d357c996cf Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 29 Apr 2017 11:40:05 +0000 Subject: [PATCH] async/await is on by default in modern V8. This flag produces a warning. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3401 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 4c0538df..dcee2c37 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -68,9 +68,6 @@ int main(int argc, char* argv[]) { v8::V8::InitializePlatform(gPlatform); v8::V8::Initialize(); - const char* kAsyncAwait = "--harmony-async-await"; - v8::V8::SetFlagsFromString(kAsyncAwait, std::strlen(kAsyncAwait)); - v8::V8::SetFlagsFromCommandLine(&argc, argv, true); bool isChild = false;