Index: src/ic/s390/stub-cache-s390.cc |
diff --git a/src/ic/s390/stub-cache-s390.cc b/src/ic/s390/stub-cache-s390.cc |
index b132ba057165ccf6ad81752d46b3d0ed93e61dff..26cfb5cc27e38ddb0d86aac133a0645e76f4b9b4 100644 |
--- a/src/ic/s390/stub-cache-s390.cc |
+++ b/src/ic/s390/stub-cache-s390.cc |
@@ -17,7 +17,8 @@ namespace internal { |
static void ProbeTable(StubCache* stub_cache, MacroAssembler* masm, |
Code::Flags flags, StubCache::Table table, |
Register receiver, Register name, |
- // Number of the cache entry, not scaled. |
+ // The offset is scaled by 4, based on |
+ // kCacheIndexShift, which is two bits |
Register offset, Register scratch, Register scratch2, |
Register offset_scratch) { |
ExternalReference key_offset(stub_cache->key_reference(table)); |