Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 139bc2dcf980116836024035ee49a80afc74c90f..a1578ac63260900497b7de06fc955215e4601b19 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -1213,8 +1213,8 @@ RUNTIME_FUNCTION(MaybeObject*, StoreInterceptorProperty) { |
JSObject* recv = JSObject::cast(args[0]); |
String* name = String::cast(args[1]); |
Object* value = args[2]; |
+ ASSERT(args.smi_at(3) == kStrictMode || args.smi_at(3) == kNonStrictMode); |
StrictModeFlag strict_mode = static_cast<StrictModeFlag>(args.smi_at(3)); |
- ASSERT(strict_mode == kStrictMode || strict_mode == kNonStrictMode); |
ASSERT(recv->HasNamedInterceptor()); |
PropertyAttributes attr = NONE; |
MaybeObject* result = recv->SetPropertyWithInterceptor( |