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
This commit is contained in:
Cory McWilliams 2017-04-29 11:40:05 +00:00
parent 3766813780
commit f0be58da89

View File

@ -68,9 +68,6 @@ int main(int argc, char* argv[]) {
v8::V8::InitializePlatform(gPlatform); v8::V8::InitializePlatform(gPlatform);
v8::V8::Initialize(); v8::V8::Initialize();
const char* kAsyncAwait = "--harmony-async-await";
v8::V8::SetFlagsFromString(kAsyncAwait, std::strlen(kAsyncAwait));
v8::V8::SetFlagsFromCommandLine(&argc, argv, true); v8::V8::SetFlagsFromCommandLine(&argc, argv, true);
bool isChild = false; bool isChild = false;