| Index: src/objects-inl.h
|
| ===================================================================
|
| --- src/objects-inl.h (revision 12582)
|
| +++ src/objects-inl.h (working copy)
|
| @@ -703,6 +703,11 @@
|
| }
|
|
|
|
|
| +bool Object::IsShortTermJSONEvalCacheTable() {
|
| + return IsHashTable();
|
| +}
|
| +
|
| +
|
| bool Object::IsCodeCacheHashTable() {
|
| return IsHashTable();
|
| }
|
| @@ -2250,6 +2255,7 @@
|
| uint32_t count = 1;
|
| // EnsureCapacity will guarantee the hash table is never full.
|
| while (true) {
|
| + ASSERT(count <= capacity);
|
| Object* element = KeyAt(entry);
|
| // Empty entry.
|
| if (element == isolate->heap()->raw_unchecked_undefined_value()) break;
|
| @@ -2296,6 +2302,7 @@
|
| CAST_ACCESSOR(NormalizedMapCache)
|
| CAST_ACCESSOR(ScopeInfo)
|
| CAST_ACCESSOR(CompilationCacheTable)
|
| +CAST_ACCESSOR(ShortTermJSONEvalCacheTable)
|
| CAST_ACCESSOR(CodeCacheHashTable)
|
| CAST_ACCESSOR(PolymorphicCodeCacheHashTable)
|
| CAST_ACCESSOR(MapCache)
|
| @@ -3968,6 +3975,10 @@
|
| compiler_hints,
|
| has_duplicate_parameters,
|
| kHasDuplicateParameters)
|
| +BOOL_ACCESSORS(SharedFunctionInfo,
|
| + compiler_hints,
|
| + is_json_eval,
|
| + kIsJSONEval)
|
|
|
|
|
| #if V8_HOST_ARCH_32_BIT
|
|
|