| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 90e1024ba9373afda64ae4c11d061384e77e44ce..b66b98f208ef3c72a0211f71539cf45b6dfd4e91 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -1428,6 +1428,15 @@ LInstruction* LChunkBuilder::DoPower(HPower* instr) {
|
| }
|
|
|
|
|
| +LInstruction* LChunkBuilder::DoRandom(HRandom* instr) {
|
| + ASSERT(instr->representation().IsDouble());
|
| + ASSERT(instr->global_object()->representation().IsTagged());
|
| + LOperand* global_object = UseFixed(instr->global_object(), a0);
|
| + LRandom* result = new LRandom(global_object);
|
| + return MarkAsCall(DefineFixedDouble(result, f0), instr);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoCompareGeneric(HCompareGeneric* instr) {
|
| Representation r = instr->GetInputRepresentation();
|
| ASSERT(instr->left()->representation().IsTagged());
|
|
|