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 9a23bdd from upstream V8 · nodejs/node@9e2077a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • deps/v8
    • include
      • v8-version.h
    • src
      • isolate.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/v8/include/v8-version.h‎

Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 6
1212
#define V8_MINOR_VERSION 2
1313
#define V8_BUILD_NUMBER 414
14-
#define V8_PATCH_LEVEL 66
14+
#define V8_PATCH_LEVEL 67
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)
Collapse file

‎deps/v8/src/isolate.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/isolate.cc
+11-3Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,9 +1532,17 @@ void Isolate::PrintCurrentStackTrace(FILE* out) {
15321532

15331533
Handle<Object> receiver(frame->receiver(), this);
15341534
Handle<JSFunction> function(frame->function(), this);
1535-
Handle<AbstractCode> code(AbstractCode::cast(frame->LookupCode()), this);
1536-
const int offset =
1537-
static_cast<int>(frame->pc() - code->instruction_start());
1535+
Handle<AbstractCode> code;
1536+
int offset;
1537+
if (frame->is_interpreted()) {
1538+
InterpretedFrame* interpreted_frame = reinterpret_cast<InterpretedFrame*>(frame);
1539+
code = handle(AbstractCode::cast(interpreted_frame->GetBytecodeArray()),
1540+
this);
1541+
offset = interpreted_frame->GetBytecodeOffset();
1542+
} else {
1543+
code = handle(AbstractCode::cast(frame->LookupCode()), this);
1544+
offset = static_cast<int>(frame->pc() - code->instruction_start());
1545+
}
15381546

15391547
JSStackFrame site(this, receiver, function, code, offset);
15401548
Handle<String> line = site.ToString().ToHandleChecked();

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.