Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 1b6bf8eb019d3466bc70d55fe49aa5a06832fe01..672b8c1632570599cd0b791a47173394c365b010 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -189,7 +189,9 @@ namespace internal { |
V(Symbol, elements_transition_symbol, ElementsTransitionSymbol) \ |
V(SeededNumberDictionary, empty_slow_element_dictionary, \ |
EmptySlowElementDictionary) \ |
- V(Symbol, observed_symbol, ObservedSymbol) |
+ V(Symbol, observed_symbol, ObservedSymbol) \ |
+ V(HeapObject, i18n_template_one, I18nTemplateOne) \ |
+ V(HeapObject, i18n_template_two, I18nTemplateTwo) |
#define ROOT_LIST(V) \ |
STRONG_ROOT_LIST(V) \ |
@@ -1300,6 +1302,12 @@ class Heap { |
ASSERT((callback == NULL) ^ (global_gc_epilogue_callback_ == NULL)); |
global_gc_epilogue_callback_ = callback; |
} |
+ void SetI18nTemplateOne(ObjectTemplateInfo* tmpl) { |
+ set_i18n_template_one(tmpl); |
+ } |
+ void SetI18nTemplateTwo(ObjectTemplateInfo* tmpl) { |
+ set_i18n_template_two(tmpl); |
+ } |
// Heap root getters. We have versions with and without type::cast() here. |
// You can't use type::cast during GC because the assert fails. |