| Index: src/compiler/code-assembler.h
|
| diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h
|
| index bea999b705627fb558a3f3de548b54e9b47dbb52..17319882ccb979aac392f7a887034ef069bbec21 100644
|
| --- a/src/compiler/code-assembler.h
|
| +++ b/src/compiler/code-assembler.h
|
| @@ -283,6 +283,10 @@ class CodeAssembler {
|
| CODE_ASSEMBLER_UNARY_OP_LIST(DECLARE_CODE_ASSEMBLER_UNARY_OP)
|
| #undef DECLARE_CODE_ASSEMBLER_UNARY_OP
|
|
|
| + // Changes an intptr_t to a double, e.g. for storing an element index
|
| + // outside Smi range in a HeapNumber. Lossless on 32-bit,
|
| + // rounds on 64-bit (which doesn't affect valid element indices).
|
| + Node* RoundIntPtrToFloat64(Node* value);
|
| // No-op on 32-bit, otherwise zero extend.
|
| Node* ChangeUint32ToWord(Node* value);
|
| // No-op on 32-bit, otherwise sign extend.
|
|
|