Version 3.17.5
Made __proto__ a foreign callback on Object.prototype. (issue 621, issue 1949 and issue 2441)
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@13744 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/frames.cc b/src/frames.cc
index debaf3b..fdc6431 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -666,6 +666,13 @@
// Visit the return address in the callee and incoming arguments.
IteratePc(v, pc_address(), code);
+
+ // Visit the context in stub frame and JavaScript frame.
+ // Visit the function in JavaScript frame.
+ Object** fixed_base = &Memory::Object_at(
+ fp() + StandardFrameConstants::kMarkerOffset);
+ Object** fixed_limit = &Memory::Object_at(fp());
+ v->VisitPointers(fixed_base, fixed_limit);
}
@@ -697,12 +704,6 @@
#endif
IterateCompiledFrame(v);
-
- // Visit the context and the function.
- Object** fixed_base = &Memory::Object_at(
- fp() + JavaScriptFrameConstants::kFunctionOffset);
- Object** fixed_limit = &Memory::Object_at(fp());
- v->VisitPointers(fixed_base, fixed_limit);
}