Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 71cd301581fae8c3679c546f3ff4a2834440b365..0e764bfb692b1dd685d3b5dd2ef62f19c560ee1e 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2465,6 +2465,12 @@ HTracer* Isolate::GetHTracer() { |
} |
+CodeTracer* Isolate::GetCodeTracer() { |
+ if (code_tracer() == NULL) set_code_tracer(new CodeTracer(id())); |
+ return code_tracer(); |
+} |
+ |
+ |
Map* Isolate::get_initial_js_array_map(ElementsKind kind) { |
Context* native_context = context()->native_context(); |
Object* maybe_map_array = native_context->js_array_maps(); |