Index: test/cctest/test-profile-generator.cc |
diff --git a/test/cctest/test-profile-generator.cc b/test/cctest/test-profile-generator.cc |
index 85adeca5f468cd145260f1bf7800625e40ba1621..a18422a748a160a3a56b2885b434aafa3f2800f6 100644 |
--- a/test/cctest/test-profile-generator.cc |
+++ b/test/cctest/test-profile-generator.cc |
@@ -27,6 +27,9 @@ |
// |
// Tests of profiles generator and utilities. |
+// TODO(dcarney): remove |
+#define V8_ALLOW_ACCESS_TO_PERSISTENT_IMPLICIT |
+ |
#include "v8.h" |
#include "profile-generator-inl.h" |
#include "cctest.h" |
@@ -876,7 +879,7 @@ TEST(RecordStackTraceAtStartProfiling) { |
env = v8::Context::New(&config); |
} |
v8::HandleScope scope(v8::Isolate::GetCurrent()); |
- env->Enter(); |
+ (*env)->Enter(); |
CpuProfiler* profiler = i::Isolate::Current()->cpu_profiler(); |
CHECK_EQ(0, profiler->GetProfilesCount()); |