| Index: runtime/lib/object.cc
|
| diff --git a/runtime/lib/object.cc b/runtime/lib/object.cc
|
| index c34552d18d28959e12f26b72e500128f33a03abd..09e4808ba15c1ff9fe06776d455ef08186363190 100644
|
| --- a/runtime/lib/object.cc
|
| +++ b/runtime/lib/object.cc
|
| @@ -280,7 +280,7 @@ DEFINE_NATIVE_ENTRY(Object_as, 3) {
|
| location, instance_type_name, type_name,
|
| dst_name, Object::null_string());
|
| } else {
|
| - ASSERT(isolate->flags().type_checks());
|
| + ASSERT(isolate->type_checks());
|
| bound_error_message = String::New(bound_error.ToErrorCString());
|
| Exceptions::CreateAndThrowTypeError(
|
| location, instance_type_name, Symbols::Empty(),
|
|
|