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

Unified Diff: src/objects.h

Issue 1670143002: Visit the Optimized Code Map on first call rather than closure creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix mips64 rebase error. Created 4 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 2d0f9ea868e1cdba219dd606a2bb093344b09a20..00275d57ff47123cb6c28756137100472d2aff28 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6688,6 +6688,13 @@ class SharedFunctionInfo: public HeapObject {
static const int kNotFound = -1;
+ // Helpers for assembly code that does a backwards walk of the optimized code
+ // map.
+ static inline int OffsetToPreviousContext();
+ static inline int OffsetToPreviousCachedCode();
+ static inline int OffsetToPreviousLiterals();
+ static inline int OffsetToPreviousOsrAstId();
+
// [scope_info]: Scope info.
DECL_ACCESSORS(scope_info, ScopeInfo)

Powered by Google App Engine
This is Rietveld 408576698