| Index: src/a64/lithium-a64.cc
|
| diff --git a/src/a64/lithium-a64.cc b/src/a64/lithium-a64.cc
|
| index c0b6309289752d0c2ab38acadbc846fa0c3ea530..7118171fec4890780e7fcea7a5aa422778d52f5b 100644
|
| --- a/src/a64/lithium-a64.cc
|
| +++ b/src/a64/lithium-a64.cc
|
| @@ -1265,6 +1265,15 @@ LInstruction* LChunkBuilder::DoCompareIDAndBranch(HCompareIDAndBranch* instr) {
|
| }
|
|
|
|
|
| +LInstruction* LChunkBuilder::DoRandom(HRandom* instr) {
|
| + ASSERT(instr->representation().IsDouble());
|
| + ASSERT(instr->global_object()->representation().IsTagged());
|
| + LOperand* global_object = UseFixed(instr->global_object(), x0);
|
| + LRandom* result = new(zone()) LRandom(global_object);
|
| + return MarkAsCall(DefineFixedDouble(result, d7), instr);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
|
| ASSERT(instr->left()->representation().IsTagged());
|
| ASSERT(instr->right()->representation().IsTagged());
|
| @@ -1879,11 +1888,6 @@ LInstruction* LChunkBuilder::DoPushArgument(HPushArgument* instr) {
|
| }
|
|
|
|
|
| -LInstruction* LChunkBuilder::DoRandom(HRandom* instr) {
|
| - UNIMPLEMENTED_INSTRUCTION();
|
| -}
|
| -
|
| -
|
| LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
|
| return MarkAsCall(DefineFixed(new(zone()) LRegExpLiteral, x0), instr);
|
| }
|
|
|