Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index f7205f2ca23e83b50b32b29a6da8f940972c3cc9..e0b1e50f1863f7ee172148b3173109e3e2e173d9 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -1951,6 +1951,16 @@ MaybeObject* Heap::AllocateTypeFeedbackInfo() { |
} |
+MaybeObject* Heap::AllocateAliasedArgumentsEntry(int aliased_context_slot) { |
+ AliasedArgumentsEntry* entry; |
+ { MaybeObject* maybe_result = AllocateStruct(ALIASED_ARGUMENTS_ENTRY_TYPE); |
+ if (!maybe_result->To(&entry)) return maybe_result; |
+ } |
+ entry->set_aliased_context_slot(aliased_context_slot); |
+ return entry; |
+} |
+ |
+ |
const Heap::StringTypeTable Heap::string_type_table[] = { |
#define STRING_TYPE_ELEMENT(type, size, name, camel_name) \ |
{type, size, k##camel_name##MapRootIndex}, |