Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index dd0ec9226b21ebdfd36b49c64af5f458e7795536..7482d65dfa0cb82f7b1fba15c27bac983db88627 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1068,7 +1068,7 @@ class Object { |
INLINE(bool IsNaN() const); |
INLINE(bool IsMinusZero() const); |
bool ToInt32(int32_t* value); |
- bool ToUint32(uint32_t* value); |
+ inline bool ToUint32(uint32_t* value); |
inline Representation OptimalRepresentation(); |
@@ -1120,8 +1120,8 @@ class Object { |
Isolate* isolate, Handle<Object> object, Handle<Context> context); |
// ES6 section 7.1.14 ToPropertyKey |
- MUST_USE_RESULT static MaybeHandle<Name> ToName(Isolate* isolate, |
- Handle<Object> input); |
+ MUST_USE_RESULT static inline MaybeHandle<Name> ToName(Isolate* isolate, |
+ Handle<Object> input); |
// ES6 section 7.1.1 ToPrimitive |
MUST_USE_RESULT static inline MaybeHandle<Object> ToPrimitive( |
@@ -1371,6 +1371,9 @@ class Object { |
LookupIterator* it, Handle<Object> value, LanguageMode language_mode, |
StoreFromKeyed store_mode, bool* found); |
+ MUST_USE_RESULT static MaybeHandle<Name> ConvertToName(Isolate* isolate, |
+ Handle<Object> input); |
+ |
DISALLOW_IMPLICIT_CONSTRUCTORS(Object); |
}; |