Index: test/unittests/test-utils.h |
diff --git a/test/unittests/test-utils.h b/test/unittests/test-utils.h |
index 433a1f2f40483db384e601484e720faf792bd809..c5788e2478a824d1c63f557a0a82d5949e51c619 100644 |
--- a/test/unittests/test-utils.h |
+++ b/test/unittests/test-utils.h |
@@ -43,6 +43,10 @@ class TestWithContext : public virtual TestWithIsolate { |
const Local<Context>& context() const { return context_; } |
+ v8::internal::Isolate* i_isolate() const { |
+ return reinterpret_cast<v8::internal::Isolate*>(isolate()); |
+ } |
+ |
private: |
Local<Context> context_; |
Context::Scope context_scope_; |