Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 1399e33ffab4acb74f42abd63ad646747b9b61cc..e70346590e1af1bf09485a63910896e3f68efab6 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10318,7 +10318,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->kind() == Code::STUB); |
+ ASSERT(code->kind() == Code::HANDLER); |
code_list->Add(Handle<Code>(code)); |
} |
UNREACHABLE(); |