Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 203ced5cbab8273a6f27c4f2eebe47d7269902a0..fbe0531014e6c7a7adae10c6ffd03bfde43ff826 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -188,7 +188,9 @@ namespace internal { |
V(Symbol, frozen_symbol, FrozenSymbol) \ |
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) \ |
@@ -1298,6 +1300,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. |