| Index: src/a64/lithium-a64.cc
|
| diff --git a/src/a64/lithium-a64.cc b/src/a64/lithium-a64.cc
|
| index 2002835145838c538c6ad486c3370c82dbfb2765..221853b2ae5d553de01da2d6d21a37a012a87e2b 100644
|
| --- a/src/a64/lithium-a64.cc
|
| +++ b/src/a64/lithium-a64.cc
|
| @@ -976,6 +976,7 @@ LInstruction* LChunkBuilder::DoBitwise(HBitwise* instr) {
|
| if (instr->representation().IsSmiOrInteger32()) {
|
| ASSERT(instr->left()->representation().Equals(instr->representation()));
|
| ASSERT(instr->right()->representation().Equals(instr->representation()));
|
| + ASSERT(instr->CheckFlag(HValue::kTruncatingToInt32));
|
|
|
| LOperand* left = UseRegisterAtStart(instr->BetterLeftOperand());
|
| LOperand* right =
|
| @@ -1347,6 +1348,7 @@ LInstruction* LChunkBuilder::DoCompareNumericAndBranch(
|
| }
|
|
|
|
|
| +// TODO(all): This will disappear when Math.random is rewritten in JavaScript.
|
| LInstruction* LChunkBuilder::DoRandom(HRandom* instr) {
|
| ASSERT(instr->representation().IsDouble());
|
| ASSERT(instr->global_object()->representation().IsTagged());
|
|
|