Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 3ab39abfcc7676d288c57bba9ff0d81672e6a51c..958675aa953004de08e40546e188191ccdd7bf41 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -14649,7 +14649,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_IsAccessAllowedForObserver) { |
ASSERT(args.length() == 3); |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, observer, 0); |
CONVERT_ARG_HANDLE_CHECKED(JSObject, object, 1); |
- ASSERT(object->IsAccessCheckNeeded()); |
+ ASSERT(object->map()->is_access_check_needed()); |
Handle<Object> key = args.at<Object>(2); |
SaveContext save(isolate); |
isolate->set_context(observer->context()); |