Chromium Code Reviews| Index: src/objects-debug.cc |
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
| index e465cb1db40d5a536f4d371851aa2aba7215bc48..b374021c1ec0ad06095f6cbd89b36649519cc0e2 100644 |
| --- a/src/objects-debug.cc |
| +++ b/src/objects-debug.cc |
| @@ -639,6 +639,8 @@ void Code::CodeVerify() { |
| last_gc_pc = it.rinfo()->pc(); |
| } |
| } |
| + CHECK(raw_type_feedback_info()->IsUndefined() || |
| + raw_type_feedback_info()->IsSmi() == IsCodeStubOrIC()); |
| } |