Chromium Code Reviews| Index: src/arm/lithium-arm.cc |
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
| index f222c2981f2e2bd3cca7eeddbf76dcbcf32592c1..3eecd26c110b5644a2a9cbb41a1195093d1d4671 100644 |
| --- a/src/arm/lithium-arm.cc |
| +++ b/src/arm/lithium-arm.cc |
| @@ -2032,6 +2032,18 @@ LInstruction* LChunkBuilder::DoCheckNonSmi(HCheckNonSmi* instr) { |
| } |
| +LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
| + LOperand* value = UseAtStart(instr->value()); |
|
Rodolph Perfetta
2013/06/21 18:32:38
Shouldn't this be UseRegisterAtStart?
|
| + return AssignEnvironment(new(zone()) LCheckSmi(value)); |
| +} |
| + |
| + |
| +LInstruction* LChunkBuilder::DoIsNumberAndBranch(HIsNumberAndBranch* instr) { |
| + return new(zone()) |
| + LIsNumberAndBranch(UseRegisterOrConstantAtStart(instr->value())); |
| +} |
| + |
| + |
| LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { |
| LOperand* value = UseRegisterAtStart(instr->value()); |
| LInstruction* result = new(zone()) LCheckInstanceType(value); |