Index: src/ic/x64/stub-cache-x64.cc |
diff --git a/src/ic/x64/stub-cache-x64.cc b/src/ic/x64/stub-cache-x64.cc |
index a65165b678d4af40f5e9b0dc00768311aa8c00d3..fa0a0b32a0fc0bcb258c1151a238a56ec016162e 100644 |
--- a/src/ic/x64/stub-cache-x64.cc |
+++ b/src/ic/x64/stub-cache-x64.cc |
@@ -106,7 +106,8 @@ void StubCache::GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, |
// the vector and slot registers, which need to be preserved for a handler |
// call or miss. |
if (IC::ICUseVector(ic_kind)) { |
- if (ic_kind == Code::LOAD_IC || ic_kind == Code::KEYED_LOAD_IC) { |
+ if (ic_kind == Code::LOAD_IC || ic_kind == Code::LOAD_GLOBAL_IC || |
+ ic_kind == Code::KEYED_LOAD_IC) { |
Register vector = LoadWithVectorDescriptor::VectorRegister(); |
Register slot = LoadDescriptor::SlotRegister(); |
DCHECK(!AreAliased(vector, slot, scratch)); |