Skip to content

Commit 2ae10dd

Browse files
kvakilNo9
authored andcommitted
src: remove kJSFrame
Like the comment says, these were removed a long time ago.
1 parent dbf0cb5 commit 2ae10dd

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

src/llv8-constants.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,6 @@ void Frame::Load() {
510510
kExitFrame = LoadConstant("frametype_ExitFrame");
511511
kInternalFrame = LoadConstant("frametype_InternalFrame");
512512
kConstructFrame = LoadConstant("frametype_ConstructFrame");
513-
// NOTE: The JavaScript frame type was removed in V8 6.3.158.
514-
kJSFrame = LoadConstant("frametype_JavaScriptFrame");
515513
kOptimizedFrame = LoadConstant("frametype_OptimizedFrame");
516514
kStubFrame = LoadConstant("frametype_StubFrame");
517515
}

src/llv8-constants.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ class Frame : public Module {
494494
int64_t kExitFrame;
495495
int64_t kInternalFrame;
496496
int64_t kConstructFrame;
497-
int64_t kJSFrame;
498497
int64_t kOptimizedFrame;
499498
int64_t kStubFrame;
500499

src/printer.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ std::string Printer::Stringify(v8::JSFrame js_frame, Error& err) {
4949
return "<constructor>";
5050
} else if (value == llv8_->frame()->kStubFrame) {
5151
return "<stub>";
52-
} else if (value != llv8_->frame()->kJSFrame &&
53-
value != llv8_->frame()->kOptimizedFrame) {
52+
} else if (value != llv8_->frame()->kOptimizedFrame) {
5453
err = Error::Failure("Unknown frame marker %" PRId64, value);
5554
return std::string();
5655
}

0 commit comments

Comments
 (0)