Added an ASSERT to code from r3350
Review URL: http://codereview.chromium.org/441014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3354 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
8e296a79ef
commit
8dbedbb30e
@ -112,6 +112,8 @@ static void GenerateDictionaryLoad(MacroAssembler* masm,
|
||||
// Add the probe offset (i + i * i) left shifted to avoid right shifting
|
||||
// the hash in a separate instruction. The value hash + i + i * i is right
|
||||
// shifted in the following and instruction.
|
||||
ASSERT(StringDictionary::GetProbeOffset(i) <
|
||||
1 << (32 - String::kHashFieldOffset));
|
||||
__ add(t1, t1, Operand(
|
||||
StringDictionary::GetProbeOffset(i) << String::kHashFieldOffset));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user