Index: src/lithium-codegen.cc |
diff --git a/src/lithium-codegen.cc b/src/lithium-codegen.cc |
index b13458a6174eec3667179d7e31593961bba7e843..8b6444db58b8831a5aa467d9f1a3ed36fe2d7f48 100644 |
--- a/src/lithium-codegen.cc |
+++ b/src/lithium-codegen.cc |
@@ -56,7 +56,7 @@ LCodeGenBase::LCodeGenBase(LChunk* chunk, |
bool LCodeGenBase::GenerateBody() { |
- ASSERT(is_generating()); |
+ DCHECK(is_generating()); |
bool emit_instructions = true; |
LCodeGen* codegen = static_cast<LCodeGen*>(this); |
for (current_instruction_ = 0; |
@@ -168,7 +168,7 @@ static void AddWeakObjectToCodeDependency(Isolate* isolate, |
void LCodeGenBase::RegisterWeakObjectsInOptimizedCode(Handle<Code> code) { |
- ASSERT(code->is_optimized_code()); |
+ DCHECK(code->is_optimized_code()); |
ZoneList<Handle<Map> > maps(1, zone()); |
ZoneList<Handle<JSObject> > objects(1, zone()); |
ZoneList<Handle<Cell> > cells(1, zone()); |