Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index cdccb9b5cab764bb7919358ac819dfbd57ce7765..ebcaaac59da9205eabbc60af5a8245ee5cad5540 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -864,12 +864,12 @@ class MacroAssembler: public Assembler { |
Label::Distance distance = Label::kFar); |
// Check to see if maybe_number can be stored as a double in |
- // FastDoubleElements. If it can, store it at the index specified by key in |
- // the FastDoubleElements array elements, otherwise jump to fail. |
- // Note that key must not be smi-tagged. |
+ // FastDoubleElements. If it can, store it at the index specified by index in |
+ // the FastDoubleElements array elements, otherwise jump to fail. Note that |
+ // index must not be smi-tagged. |
void StoreNumberToDoubleElements(Register maybe_number, |
Register elements, |
- Register key, |
+ Register index, |
XMMRegister xmm_scratch, |
Label* fail); |