Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index dab5f2da97efeae9eaeb05eb0a3c666e2e2d15c2..8695e942220c02424ed6873424102e5a42bc447c 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -23,6 +23,7 @@ |
#include "src/handles.h" |
#include "src/hashmap.h" |
#include "src/heap/heap.h" |
+#include "src/messages.h" |
#include "src/optimizing-compile-dispatcher.h" |
#include "src/regexp-stack.h" |
#include "src/runtime/runtime.h" |
@@ -994,6 +995,10 @@ class Isolate { |
date_cache_ = date_cache; |
} |
+ ErrorToStringHelper* error_tostring_helper() { |
+ return &error_tostring_helper_; |
+ } |
+ |
Map* get_initial_js_array_map(ElementsKind kind, |
Strength strength = Strength::WEAK); |
@@ -1294,6 +1299,7 @@ class Isolate { |
regexp_macro_assembler_canonicalize_; |
RegExpStack* regexp_stack_; |
DateCache* date_cache_; |
+ ErrorToStringHelper error_tostring_helper_; |
unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
CallInterfaceDescriptorData* call_descriptor_data_; |
base::RandomNumberGenerator* random_number_generator_; |