Index: test/cctest/cctest.h |
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h |
index b9c5d00fdd15cf979fb682a98683710d3815a890..bc800399abb656997748c8d92a66a8f2f9ac5be6 100644 |
--- a/test/cctest/cctest.h |
+++ b/test/cctest/cctest.h |
@@ -106,6 +106,10 @@ class CcTest { |
return i_isolate()->heap(); |
} |
+ static v8::Local<v8::Object> global() { |
+ return isolate()->GetCurrentContext()->Global(); |
+ } |
+ |
// TODO(dcarney): Remove. |
// This must be called first in a test. |
static void InitializeVM() { |