Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 306042f4ea65601e0e4ed3c5fe57ee08937be87c..55013f1b4e45241f652841ad863113a50ced4615 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -14735,7 +14735,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()); |