Chromium Code Reviews| Index: src/code-stubs.cc |
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
| index 5f6616ea07a9d12891d824c19c03e9b8312487e3..5a060a6a359c9b4e30f3b3df632ace8947e4c06d 100644 |
| --- a/src/code-stubs.cc |
| +++ b/src/code-stubs.cc |
| @@ -557,6 +557,9 @@ void CompareNilICStub::UpdateStatus(Handle<Object> object) { |
| template<class StateType> |
| void HydrogenCodeStub::TraceTransition(StateType from, StateType to) { |
| + // Note: Although a no-op transition is semantically OK, it is hinting at a |
| + // bug somewhere in our state transition machinery. |
| + ASSERT(from != to); |
| #ifdef DEBUG |
| if (!FLAG_trace_ic) return; |
| char buffer[100]; |