Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 40e30e675d5e8923c36adcc93fcb1f1b36987159..86cd2d2a7c57f5c5c1fa65cb2bd0604804f89547 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -4689,8 +4689,7 @@ bool Code::IsCodeStubOrIC() { |
return kind() == STUB || kind() == HANDLER || kind() == LOAD_IC || |
kind() == KEYED_LOAD_IC || kind() == CALL_IC || kind() == STORE_IC || |
kind() == KEYED_STORE_IC || kind() == BINARY_OP_IC || |
- kind() == COMPARE_IC || kind() == COMPARE_NIL_IC || |
- kind() == TO_BOOLEAN_IC; |
+ kind() == COMPARE_IC || kind() == TO_BOOLEAN_IC; |
} |
@@ -4980,7 +4979,6 @@ bool Code::is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } |
bool Code::is_call_stub() { return kind() == CALL_IC; } |
bool Code::is_binary_op_stub() { return kind() == BINARY_OP_IC; } |
bool Code::is_compare_ic_stub() { return kind() == COMPARE_IC; } |
-bool Code::is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } |
bool Code::is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } |
bool Code::is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } |
bool Code::is_wasm_code() { return kind() == WASM_FUNCTION; } |
@@ -4988,7 +4986,7 @@ bool Code::is_wasm_code() { return kind() == WASM_FUNCTION; } |
bool Code::embeds_maps_weakly() { |
Kind k = kind(); |
return (k == LOAD_IC || k == STORE_IC || k == KEYED_LOAD_IC || |
- k == KEYED_STORE_IC || k == COMPARE_NIL_IC) && |
+ k == KEYED_STORE_IC) && |
ic_state() == MONOMORPHIC; |
} |