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 — deps: backport a8f6869 from upstream V8 by benjamn · Pull Request #22122 · nodejs/node

deps: backport a8f6869 from upstream V8 #22122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
benjamn wants to merge 4 commits into nodejs:master from benjamn:backport_v8_a8f6869

Uh oh!

There was an error while loading. Please reload this page.

Closed

deps: backport a8f6869 from upstream V8 #22122

Changes from 1 commit
Commits
Show all changes
4 commits
Select commit Hold shift + click to select a range
a28a51d
deps: backport a8f6869 from upstream V8
Aug 4, 2018
3a2d175
Fix build errors by matching older V8 APIs used by Node.
Aug 8, 2018
023cea7
Skip restoring debug state unless thread previously in DebugScope.
Aug 14, 2018
8d66ed7
Bump v8_embedder_string to '-node.17'.
Aug 20, 2018
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
Fix build errors by matching older V8 APIs used by Node.
It looks like

  SetDebugDelegate(debug::DebugDelegate* delegate, bool pass_ownership)

was simplified to just

  SetDebugDelegate(debug::DebugDelegate* delegate)

in v8/v8@37dcd83,
but the extra `pass_ownership` parameter is still there in the current
version of `node/deps/v8`. I should be able to fix those tests by passing
`false` for `pass_ownership`.

Also, the `DebugDelegate::BreakProgramRequested` method lost a parameter
in v8/v8@e404670,
but it's not a parameter I was using in my test, so there shouldn't be any
harm in adding the `exec_state` parameter back to `BreakProgramRequested`
(and continuing to ignore it).

I'm not sure why `ninja -C out/Debug` didn't catch these errors
before. Maybe they only show up in release builds?
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

Ben Newman @targos
Ben Newman authored and targos committed Sep 3, 2018
commit 3a2d17522c4888d31aabfefc20df452798095799

There are no files selected for viewing

5 changes: 3 additions & 2 deletions 5 deps/v8/test/cctest/test-debug.cc
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6246,7 +6246,7 @@ class ArchiveRestoreThread : public v8::base::Thread,
"}\n",
"test");

debug_->SetDebugDelegate(this);
debug_->SetDebugDelegate(this, false);
v8::internal::DisableBreak enable_break(debug_, false);

v8::Local<v8::Value> args[1] = {v8::Integer::New(isolate_, spawn_count_)};
Expand All @@ -6263,6 +6263,7 @@ class ArchiveRestoreThread : public v8::base::Thread,
}

void BreakProgramRequested(v8::Local<v8::Context> context,
v8::Local<v8::Object> exec_state,
const std::vector<v8::debug::BreakpointId>&) {
auto stack_traces = v8::debug::StackTraceIterator::Create(isolate_);
if (!stack_traces->Done()) {
Expand Down Expand Up @@ -6315,7 +6316,7 @@ class ArchiveRestoreThread : public v8::base::Thread,
// The child thread sets itself as the debug delegate, so we need to
// usurp it after the child finishes, or else future breakpoints
// will be delegated to a destroyed ArchiveRestoreThread object.
debug_->SetDebugDelegate(this);
debug_->SetDebugDelegate(this, false);

// This is the most important check in this test, since
// child.GetBreakCount() will return 1 if the debugger fails to stop
Expand Down
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — 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.