Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f7cf61fc8a38e53401f9786e718e681e5ff33c86..e42049a13137cbaf296f4ebdb189adbabf81fcdd 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7482,8 +7482,7 @@ class SharedFunctionInfo: public HeapObject { |
static const int kContextOffset = 0; |
static const int kCachedCodeOffset = 1; |
static const int kLiteralsOffset = 2; |
- static const int kOsrAstIdOffset = 3; |
- static const int kEntryLength = 4; |
+ static const int kEntryLength = 3; |
static const int kInitialLength = kEntriesStart + kEntryLength; |
static const int kNotFound = -1; |
@@ -7497,8 +7496,6 @@ class SharedFunctionInfo: public HeapObject { |
kPointerSize * (kCachedCodeOffset - kEntryLength); |
static const int kOffsetToPreviousLiterals = |
FixedArray::kHeaderSize + kPointerSize * (kLiteralsOffset - kEntryLength); |
- static const int kOffsetToPreviousOsrAstId = |
- FixedArray::kHeaderSize + kPointerSize * (kOsrAstIdOffset - kEntryLength); |
// [scope_info]: Scope info. |
DECL_ACCESSORS(scope_info, ScopeInfo) |
@@ -8094,11 +8091,10 @@ class SharedFunctionInfo: public HeapObject { |
#undef BYTE_OFFSET |
private: |
- // Returns entry from optimized code map for specified context and OSR entry. |
+ // Returns entry from optimized code map for specified context. |
// The result is either kNotFound, or a start index of the context-dependent |
// entry. |
- int SearchOptimizedCodeMapEntry(Context* native_context, |
- BailoutId osr_ast_id); |
+ int SearchOptimizedCodeMapEntry(Context* native_context); |
DISALLOW_IMPLICIT_CONSTRUCTORS(SharedFunctionInfo); |
}; |