GeezerVison is showing github.com — v8: remove --harmony-top-level-await · nodejs/node@02de402
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/node.cc -7Lines changed: 0 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -803,13 +803,6 @@ int ProcessGlobalArgs(std::vector<std::string>* args, |
803 | 803 | return 12; |
804 | 804 | } |
805 | 805 |
|
806 | | - // TODO(mylesborins): remove this when the harmony-top-level-await flag |
807 | | - // is removed in V8 |
808 | | - if (std::find(v8_args.begin(), v8_args.end(), |
809 | | - "--no-harmony-top-level-await") == v8_args.end()) { |
810 | | - v8_args.push_back("--harmony-top-level-await"); |
811 | | - } |
812 | | - |
813 | 806 | auto env_opts = per_process::cli_options->per_isolate->per_env; |
814 | 807 | if (std::find(v8_args.begin(), v8_args.end(), |
815 | 808 | "--abort-on-uncaught-exception") != v8_args.end() || |
|
Collapse file
Copy file name to clipboardExpand all lines: test/message/esm_display_syntax_error.mjs -4Lines changed: 0 additions & 4 deletions Collapse file
Copy file name to clipboardExpand all lines: test/message/esm_display_syntax_error.out -10Lines changed: 0 additions & 10 deletions Collapse file
Copy file name to clipboardExpand all lines: test/parallel/test-no-harmony-top-level-await.mjs -8Lines changed: 0 additions & 8 deletions Collapse file
Copy file name to clipboardExpand all lines: tools/code_cache/mkcodecache.cc -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -28,7 +28,6 @@ int main(int argc, char* argv[]) { |
28 | 28 | #endif // _WIN32 |
29 | 29 |
|
30 | 30 | v8::V8::SetFlagsFromString("--random_seed=42"); |
31 | | - v8::V8::SetFlagsFromString("--harmony-top-level-await"); |
32 | 31 |
|
33 | 32 | if (argc < 2) { |
34 | 33 | std::cerr << "Usage: " << argv[0] << " <path/to/output.cc>\n"; |
|