Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 1b4ed5b3b572e8b7cb17b85bddf6479496ef692b..e85bf16d66539601d50ad1c2b245b665d0458e04 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5806,7 +5806,7 @@ class SharedFunctionInfo: public HeapObject { |
void InstallFromOptimizedCodeMap(JSFunction* function, int index); |
// Clear optimized code map. |
- inline void ClearOptimizedCodeMap(); |
+ void ClearOptimizedCodeMap(const char* reason); |
// Add a new entry to the optimized code map. |
static void AddToOptimizedCodeMap(Handle<SharedFunctionInfo> shared, |
@@ -6660,6 +6660,8 @@ class JSFunction: public JSObject { |
} |
#endif |
+ bool PassesHydrogenFilter(); |
+ |
// Layout descriptors. The last property (from kNonWeakFieldsEndOffset to |
// kSize) is weak and has special handling during garbage collection. |
static const int kCodeEntryOffset = JSObject::kHeaderSize; |
@@ -7792,7 +7794,7 @@ class String: public Name { |
// String equality operations. |
inline bool Equals(String* other); |
- bool IsUtf8EqualTo(Vector<const char> str); |
+ bool IsUtf8EqualTo(Vector<const char> str, bool allow_prefix_match = false); |
bool IsOneByteEqualTo(Vector<const uint8_t> str); |
bool IsTwoByteEqualTo(Vector<const uc16> str); |