Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index 50ecc53cd49ee91c98670744a6c600461d95bb8d..8b4e12bc0d38aea0acf9498e49258c7c0964995e 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -528,6 +528,11 @@ class Isolate { |
thread_local_top_.save_context_ = save; |
} |
+ // Access to the map of "new Object()". |
+ Map* empty_object_map() { |
+ return context()->global_context()->object_function()->map(); |
+ } |
+ |
// Access to current thread id. |
ThreadId thread_id() { return thread_local_top_.thread_id_; } |
void set_thread_id(ThreadId id) { thread_local_top_.thread_id_ = id; } |