Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 7ee75e9a289ffc1120ef9e8a6a6db4313c94e7a3..84245946c6422c36c1e2500efbbab26745e829f6 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -4273,9 +4273,9 @@ TEST(InterceptorPropertyMirror) { |
"named_values[%d] instanceof debug.PropertyMirror", i); |
CHECK(CompileRun(buffer.start())->BooleanValue()); |
- // 5 is PropertyType.Interceptor |
OS::SNPrintF(buffer, "named_values[%d].propertyType()", i); |
- CHECK_EQ(5, CompileRun(buffer.start())->Int32Value()); |
+ CHECK_EQ(v8::internal::INTERCEPTOR, |
+ CompileRun(buffer.start())->Int32Value()); |
OS::SNPrintF(buffer, "named_values[%d].isNative()", i); |
CHECK(CompileRun(buffer.start())->BooleanValue()); |