Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index ee6b2e8d5b188c64bc174122c9b4e921d3b11793..99210a589a3a86c7b7a0bd345451f9903b6569bf 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -1822,6 +1822,15 @@ class V8_EXPORT Boolean : public Primitive { |
| */ |
| class V8_EXPORT Name : public Primitive { |
| public: |
| + /** |
| + * Returns the identity hash for this object. The current implementation |
| + * uses a inline property on the object to store the identity hash. |
|
aandrey
2014/12/01 15:49:17
a inline -> an inline
yurys
2014/12/02 08:42:30
Done.
|
| + * |
| + * The return value will never be 0. Also, it is not guaranteed to be |
| + * unique. |
| + */ |
| + int GetIdentityHash(); |
| + |
| V8_INLINE static Name* Cast(v8::Value* obj); |
| private: |
| static void CheckCast(v8::Value* obj); |