Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index 5a4a93c6eefaedc7f7c3ada65617b7c058209e83..7f3ee19f8410c4f1598f70c780908f4eabe252f3 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -237,7 +237,8 @@ static int DecodeIt(Isolate* isolate, |
Code* code = Code::GetCodeFromTargetAddress(relocinfo.target_address()); |
Code::Kind kind = code->kind(); |
if (code->is_inline_cache_stub()) { |
- if (code->IsContextual()) { |
+ if (kind == Code::LOAD_IC && |
+ LoadIC::GetContextualMode(code->extra_ic_state()) == CONTEXTUAL) { |
out.AddFormatted(" contextual,"); |
} |
InlineCacheState ic_state = code->ic_state(); |