| OLD | NEW | 
|---|
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "src/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" | 
| 6 #include "src/compilation-info.h" | 6 #include "src/compilation-info.h" | 
| 7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" | 
| 8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" | 
| 9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" | 
| 10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" | 
| (...skipping 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1731     UNIMPLEMENTED(); | 1731     UNIMPLEMENTED(); | 
| 1732   } | 1732   } | 
| 1733   if (!branch->fallthru) __ Branch(flabel);  // no fallthru to flabel. | 1733   if (!branch->fallthru) __ Branch(flabel);  // no fallthru to flabel. | 
| 1734 } | 1734 } | 
| 1735 | 1735 | 
| 1736 | 1736 | 
| 1737 void CodeGenerator::AssembleArchJump(RpoNumber target) { | 1737 void CodeGenerator::AssembleArchJump(RpoNumber target) { | 
| 1738   if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); | 1738   if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); | 
| 1739 } | 1739 } | 
| 1740 | 1740 | 
|  | 1741 void CodeGenerator::AssembleArchTrap(Instruction* instr, | 
|  | 1742                                      FlagsCondition condition) { | 
|  | 1743   UNREACHABLE(); | 
|  | 1744 } | 
| 1741 | 1745 | 
| 1742 // Assembles boolean materializations after an instruction. | 1746 // Assembles boolean materializations after an instruction. | 
| 1743 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | 1747 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | 
| 1744                                         FlagsCondition condition) { | 1748                                         FlagsCondition condition) { | 
| 1745   MipsOperandConverter i(this, instr); | 1749   MipsOperandConverter i(this, instr); | 
| 1746   Label done; | 1750   Label done; | 
| 1747 | 1751 | 
| 1748   // Materialize a full 32-bit 1 or 0 value. The result register is always the | 1752   // Materialize a full 32-bit 1 or 0 value. The result register is always the | 
| 1749   // last output of the instruction. | 1753   // last output of the instruction. | 
| 1750   Label false_value; | 1754   Label false_value; | 
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2316       padding_size -= v8::internal::Assembler::kInstrSize; | 2320       padding_size -= v8::internal::Assembler::kInstrSize; | 
| 2317     } | 2321     } | 
| 2318   } | 2322   } | 
| 2319 } | 2323 } | 
| 2320 | 2324 | 
| 2321 #undef __ | 2325 #undef __ | 
| 2322 | 2326 | 
| 2323 }  // namespace compiler | 2327 }  // namespace compiler | 
| 2324 }  // namespace internal | 2328 }  // namespace internal | 
| 2325 }  // namespace v8 | 2329 }  // namespace v8 | 
| OLD | NEW | 
|---|