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 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2044 UNIMPLEMENTED(); | 2044 UNIMPLEMENTED(); |
2045 } | 2045 } |
2046 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel. | 2046 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel. |
2047 } | 2047 } |
2048 | 2048 |
2049 | 2049 |
2050 void CodeGenerator::AssembleArchJump(RpoNumber target) { | 2050 void CodeGenerator::AssembleArchJump(RpoNumber target) { |
2051 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); | 2051 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); |
2052 } | 2052 } |
2053 | 2053 |
| 2054 void CodeGenerator::AssembleArchTrap(Instruction* instr, |
| 2055 FlagsCondition condition) { |
| 2056 UNREACHABLE(); |
| 2057 } |
2054 | 2058 |
2055 // Assembles boolean materializations after an instruction. | 2059 // Assembles boolean materializations after an instruction. |
2056 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | 2060 void CodeGenerator::AssembleArchBoolean(Instruction* instr, |
2057 FlagsCondition condition) { | 2061 FlagsCondition condition) { |
2058 MipsOperandConverter i(this, instr); | 2062 MipsOperandConverter i(this, instr); |
2059 Label done; | 2063 Label done; |
2060 | 2064 |
2061 // Materialize a full 32-bit 1 or 0 value. The result register is always the | 2065 // Materialize a full 32-bit 1 or 0 value. The result register is always the |
2062 // last output of the instruction. | 2066 // last output of the instruction. |
2063 Label false_value; | 2067 Label false_value; |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2594 padding_size -= v8::internal::Assembler::kInstrSize; | 2598 padding_size -= v8::internal::Assembler::kInstrSize; |
2595 } | 2599 } |
2596 } | 2600 } |
2597 } | 2601 } |
2598 | 2602 |
2599 #undef __ | 2603 #undef __ |
2600 | 2604 |
2601 } // namespace compiler | 2605 } // namespace compiler |
2602 } // namespace internal | 2606 } // namespace internal |
2603 } // namespace v8 | 2607 } // namespace v8 |
OLD | NEW |