| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 5343773daff5c6cf7b43ed5ca1ebfd5d26a007df..d4c17ab4708a03ab49de4ff34fe5ede8f4c24c8d 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1695,6 +1695,19 @@ LInstruction* LChunkBuilder::DoPower(HPower* instr) {
|
| }
|
|
|
|
|
| +LInstruction* LChunkBuilder::DoRandom(HRandom* instr) {
|
| + ASSERT(instr->representation().IsDouble());
|
| + ASSERT(instr->global_object()->representation().IsTagged());
|
| + LOperand* global_object = UseTempRegister(instr->global_object());
|
| + LOperand* scratch = TempRegister();
|
| + LOperand* scratch2 = TempRegister();
|
| + LOperand* scratch3 = TempRegister();
|
| + LRandom* result = new(zone()) LRandom(
|
| + global_object, scratch, scratch2, scratch3);
|
| + return DefineFixedDouble(result, xmm1);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
|
| ASSERT(instr->left()->representation().IsSmiOrTagged());
|
| ASSERT(instr->right()->representation().IsSmiOrTagged());
|
|
|