Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(612)

Unified Diff: src/ic/ic.cc

Issue 2437593003: [IC] IC::GetSharedFunctionInfo does not need to skip bytecode handler frames. (Closed)
Patch Set: Addresses comments from Ross. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index d9fb716ab26b2756300b4deb274de9a062427b4d..bb2b6c4d1e560a915ae4fb3d7309f61797bf0a5d 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -250,10 +250,6 @@ SharedFunctionInfo* IC::GetSharedFunctionInfo() const {
// corresponding to the frame.
StackFrameIterator it(isolate());
while (it.frame()->fp() != this->fp()) it.Advance();
- if (it.frame()->type() == StackFrame::STUB) {
- // We might need to advance over bytecode handler frame for Ignition.
- it.Advance();
- }
JavaScriptFrame* frame = JavaScriptFrame::cast(it.frame());
// Find the function on the stack and both the active code for the
// function and the original code.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698