Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index 7fb25e831cb650711ab5b7238a4c3df0cef9379d..3365493d3d007fab4881e8dfa65665e48a9124b5 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -91,6 +91,10 @@ class CcTest { |
static v8::Isolate* isolate() { return default_isolate_; } |
+ static i::Isolate* i_isolate() { |
+ return reinterpret_cast<i::Isolate*>(default_isolate_); |
+ } |
+ |
// Helper function to initialize the VM. |
static void InitializeVM(CcTestExtensionFlags extensions = NO_EXTENSIONS); |