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

Unified Diff: runtime/vm/stack_frame.cc

Issue 2804793003: Don't visit a frame's code object twice. (Closed)
Patch Set: Created 3 years, 8 months 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: runtime/vm/stack_frame.cc
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc
index a1fd87eda4606ed0f220501843ef9e7f2a833999..268dcb1737bcee746193d2cc33033a2d3d5f64a1 100644
--- a/runtime/vm/stack_frame.cc
+++ b/runtime/vm/stack_frame.cc
@@ -97,10 +97,6 @@ void StackFrame::VisitObjectPointers(ObjectPointerVisitor* visitor) {
Code code;
code = GetCodeObject();
if (!code.IsNull()) {
- // Visit the code object.
- RawObject* raw_code = code.raw();
- visitor->VisitPointer(&raw_code);
-
// Optimized frames have a stack map. We need to visit the frame based
// on the stack map.
Array maps;
« 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