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
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
11 | 11 | #define V8_MAJOR_VERSION 6 |
12 | 12 | #define V8_MINOR_VERSION 2 |
13 | 13 | #define V8_BUILD_NUMBER 414 |
14 | | -#define V8_PATCH_LEVEL 66 |
| 14 | +#define V8_PATCH_LEVEL 67 |
15 | 15 |
|
16 | 16 | // Use 1 for candidates and 0 otherwise. |
17 | 17 | // (Boolean macro values are not supported by all preprocessors.) |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/src/isolate.cc +11-3Lines changed: 11 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1532,9 +1532,17 @@ void Isolate::PrintCurrentStackTrace(FILE* out) { |
1532 | 1532 |
|
1533 | 1533 | Handle<Object> receiver(frame->receiver(), this); |
1534 | 1534 | 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 | + } |
1538 | 1546 |
|
1539 | 1547 | JSStackFrame site(this, receiver, function, code, offset); |
1540 | 1548 | Handle<String> line = site.ToString().ToHandleChecked(); |
|