| 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 | 6 |
| 7 #include "src/arm/macro-assembler-arm.h" | 7 #include "src/arm/macro-assembler-arm.h" |
| 8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
| 9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| (...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 break; | 871 break; |
| 872 case kCheckedStoreWord32: | 872 case kCheckedStoreWord32: |
| 873 ASSEMBLE_CHECKED_STORE_INTEGER(str); | 873 ASSEMBLE_CHECKED_STORE_INTEGER(str); |
| 874 break; | 874 break; |
| 875 case kCheckedStoreFloat32: | 875 case kCheckedStoreFloat32: |
| 876 ASSEMBLE_CHECKED_STORE_FLOAT(32); | 876 ASSEMBLE_CHECKED_STORE_FLOAT(32); |
| 877 break; | 877 break; |
| 878 case kCheckedStoreFloat64: | 878 case kCheckedStoreFloat64: |
| 879 ASSEMBLE_CHECKED_STORE_FLOAT(64); | 879 ASSEMBLE_CHECKED_STORE_FLOAT(64); |
| 880 break; | 880 break; |
| 881 case kCheckedLoadWord64: |
| 882 case kCheckedStoreWord64: |
| 883 UNREACHABLE(); // currently unsupported checked int64 load/store. |
| 884 break; |
| 881 } | 885 } |
| 882 } // NOLINT(readability/fn_size) | 886 } // NOLINT(readability/fn_size) |
| 883 | 887 |
| 884 | 888 |
| 885 // Assembles branches after an instruction. | 889 // Assembles branches after an instruction. |
| 886 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { | 890 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { |
| 887 ArmOperandConverter i(this, instr); | 891 ArmOperandConverter i(this, instr); |
| 888 Label* tlabel = branch->true_label; | 892 Label* tlabel = branch->true_label; |
| 889 Label* flabel = branch->false_label; | 893 Label* flabel = branch->false_label; |
| 890 Condition cc = FlagsConditionToCondition(branch->condition); | 894 Condition cc = FlagsConditionToCondition(branch->condition); |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1258 padding_size -= v8::internal::Assembler::kInstrSize; | 1262 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1259 } | 1263 } |
| 1260 } | 1264 } |
| 1261 } | 1265 } |
| 1262 | 1266 |
| 1263 #undef __ | 1267 #undef __ |
| 1264 | 1268 |
| 1265 } // namespace compiler | 1269 } // namespace compiler |
| 1266 } // namespace internal | 1270 } // namespace internal |
| 1267 } // namespace v8 | 1271 } // namespace v8 |
| OLD | NEW |