Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 8b26185b11cf5b8d258d0b8f2a6b33dd8eabeb71..dc645d328e3d0d17c216766935f07eacd7f2f73a 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -8804,7 +8804,7 @@ void Code::FindAllCode(CodeHandleList* code_list, int length) { |
if (i++ == length) return; |
RelocInfo* info = it.rinfo(); |
Code* code = Code::GetCodeFromTargetAddress(info->target_address()); |
- ASSERT(code->is_load_stub()); |
+ ASSERT(code->kind() == Code::STUB); |
code_list->Add(Handle<Code>(code)); |
} |
UNREACHABLE(); |