Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index ba8dacbd24ec96dbde5b568beadb2583ec956fc9..997319a35d14efac57e5544e8ec143a070808502 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -125,7 +125,7 @@ class StubCache { |
static int PrimaryOffset(Name* name, Code::Flags flags, Map* map) { |
STATIC_ASSERT(kCacheIndexShift == Name::kHashShift); |
// Compute the hash of the name (use entire hash field). |
- ASSERT(name->HasHashCode()); |
+ DCHECK(name->HasHashCode()); |
uint32_t field = name->hash_field(); |
// Using only the low bits in 64-bit mode is unlikely to increase the |
// risk of collision even if the heap is spread over an area larger than |
@@ -356,7 +356,7 @@ class PropertyICCompiler : public PropertyAccessCompiler { |
return code->ic_state() == MONOMORPHIC ? Logger::STORE_IC_TAG |
: Logger::STORE_POLYMORPHIC_IC_TAG; |
} else { |
- ASSERT_EQ(Code::KEYED_STORE_IC, kind()); |
+ DCHECK_EQ(Code::KEYED_STORE_IC, kind()); |
return code->ic_state() == MONOMORPHIC |
? Logger::KEYED_STORE_IC_TAG |
: Logger::KEYED_STORE_POLYMORPHIC_IC_TAG; |
@@ -642,7 +642,7 @@ class CallOptimization BASE_EMBEDDED { |
} |
Handle<JSFunction> constant_function() const { |
- ASSERT(is_constant_call()); |
+ DCHECK(is_constant_call()); |
return constant_function_; |
} |
@@ -651,12 +651,12 @@ class CallOptimization BASE_EMBEDDED { |
} |
Handle<FunctionTemplateInfo> expected_receiver_type() const { |
- ASSERT(is_simple_api_call()); |
+ DCHECK(is_simple_api_call()); |
return expected_receiver_type_; |
} |
Handle<CallHandlerInfo> api_call_info() const { |
- ASSERT(is_simple_api_call()); |
+ DCHECK(is_simple_api_call()); |
return api_call_info_; |
} |