GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • src
    • node.cc
  • test
    • message
      • esm_display_syntax_error.mjs
      • esm_display_syntax_error.out
    • parallel
      • test-no-harmony-top-level-await.mjs
  • tools/code_cache
    • mkcodecache.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node.cc‎

Copy file name to clipboardExpand all lines: src/node.cc
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -803,13 +803,6 @@ int ProcessGlobalArgs(std::vector<std::string>* args,
803803
return 12;
804804
}
805805

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-
813806
auto env_opts = per_process::cli_options->per_isolate->per_env;
814807
if (std::find(v8_args.begin(), v8_args.end(),
815808
"--abort-on-uncaught-exception") != v8_args.end() ||
Collapse file

‎test/message/esm_display_syntax_error.mjs‎

Copy file name to clipboardExpand all lines: test/message/esm_display_syntax_error.mjs
-4Lines changed: 0 additions & 4 deletions
This file was deleted.
Collapse file

‎test/message/esm_display_syntax_error.out‎

Copy file name to clipboardExpand all lines: test/message/esm_display_syntax_error.out
-10Lines changed: 0 additions & 10 deletions
This file was deleted.
Collapse file

‎test/parallel/test-no-harmony-top-level-await.mjs‎

Copy file name to clipboardExpand all lines: test/parallel/test-no-harmony-top-level-await.mjs
-8Lines changed: 0 additions & 8 deletions
This file was deleted.
Collapse file

‎tools/code_cache/mkcodecache.cc‎

Copy file name to clipboardExpand all lines: tools/code_cache/mkcodecache.cc
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ int main(int argc, char* argv[]) {
2828
#endif // _WIN32
2929

3030
v8::V8::SetFlagsFromString("--random_seed=42");
31-
v8::V8::SetFlagsFromString("--harmony-top-level-await");
3231

3332
if (argc < 2) {
3433
std::cerr << "Usage: " << argv[0] << " <path/to/output.cc>\n";

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.