Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index 44f7555b350cfeff8f078ac0da75fa75f09547fd..06a9ee17ee56437601a94ab7367d10696890d41b 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -399,7 +399,7 @@ int CodeMap::GetSharedId(Address addr) { |
// For shared function entries, 'size' field is used to store their IDs. |
if (tree_.Find(addr, &locator)) { |
const CodeEntryInfo& entry = locator.value(); |
- ASSERT(entry.entry == kSharedFunctionCodeEntry); |
+ DCHECK(entry.entry == kSharedFunctionCodeEntry); |
return entry.size; |
} else { |
tree_.Insert(addr, &locator); |