| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 1bdf474337c5b6ee0965caf6844e6a09b1628c57..12f17e2a23b5c0e1197aeeea27aaac9991a046df 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -462,7 +462,15 @@ class Factory {
|
| &isolate()->heap()->roots_[Heap::k##camel_name##RootIndex])); \
|
| }
|
| ROOT_LIST(ROOT_ACCESSOR)
|
| -#undef ROOT_ACCESSOR_ACCESSOR
|
| +#undef ROOT_ACCESSOR
|
| +
|
| +#define STRUCT_MAP_ACCESSOR(NAME, Name, name) \
|
| + inline Handle<Map> name##_map() { \
|
| + return Handle<Map>(BitCast<Map**>( \
|
| + &isolate()->heap()->roots_[Heap::k##Name##MapRootIndex])); \
|
| + }
|
| + STRUCT_LIST(STRUCT_MAP_ACCESSOR)
|
| +#undef STRUCT_MAP_ACCESSOR
|
|
|
| #define STRING_ACCESSOR(name, str) \
|
| inline Handle<String> name() { \
|
|
|