| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index ac3c6173ecc96f2383cedc65fa2ae1a92c8b3a8c..a7084273fbdc6500769b4cd95b86ee17d97f5235 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1960,7 +1960,13 @@ class V8_EXPORT Symbol : public Primitive {
|
| // registry that is not accessible by (and cannot clash with) JavaScript code.
|
| static Local<Symbol> ForApi(Isolate *isolate, Local<String> name);
|
|
|
| + // Retrieve a global symbol. Similar to |For|, but using a separate
|
| + // registry for internal use. Well-known symbols such as Symbol.iterator
|
| + // are stored in this registry.
|
| + static Local<Symbol> ForInternal(Isolate* isolate, Local<String> name);
|
| +
|
| V8_INLINE static Symbol* Cast(v8::Value* obj);
|
| +
|
| private:
|
| Symbol();
|
| static void CheckCast(v8::Value* obj);
|
|
|