Chromium Code Reviews

Unified Diff: src/frames-inl.h

Issue 188063002: Fix deoptimization for out-of-line constant pool. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/frames-inl.h
diff --git a/src/frames-inl.h b/src/frames-inl.h
index 2973bad6af4de22ae8890faf793ddb763b92812d..e4dc91f95e6071b5f26424a805f3dc57ef0ca619 100644
--- a/src/frames-inl.h
+++ b/src/frames-inl.h
@@ -201,6 +201,11 @@ inline Address StandardFrame::ComputePCAddress(Address fp) {
}
+inline Address StandardFrame::ComputeConstantPoolAddress(Address fp) {
+ return fp + StandardFrameConstants::kConstantPoolOffset;
+}
+
+
inline bool StandardFrame::IsArgumentsAdaptorFrame(Address fp) {
Object* marker =
Memory::Object_at(fp + StandardFrameConstants::kContextOffset);
« src/deoptimizer.cc ('K') | « src/frames.cc ('k') | src/ia32/deoptimizer-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine