Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index c256a7cd9c6cb30c2f435cb93285103d96be3758..eec07244999d12ecc6e9cd0aab3ace983ab978f7 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4565,7 +4565,8 @@ class Code: public HeapObject { |
// TODO(danno): This is a bit of a hack right now since there are still |
// clients of this API that pass "extra" values in for argc. These clients |
// should be retrofitted to used ExtendedExtraICState. |
- return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC; |
+ return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC || |
+ kind == UNARY_OP_IC; |
} |
inline StubType type(); // Only valid for monomorphic IC stubs. |