| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/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 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1217 break; | 1217 break; |
| 1218 case kCheckedStoreFloat64: | 1218 case kCheckedStoreFloat64: |
| 1219 ASSEMBLE_CHECKED_STORE_FLOAT(fst_d); | 1219 ASSEMBLE_CHECKED_STORE_FLOAT(fst_d); |
| 1220 break; | 1220 break; |
| 1221 case kX87StackCheck: { | 1221 case kX87StackCheck: { |
| 1222 ExternalReference const stack_limit = | 1222 ExternalReference const stack_limit = |
| 1223 ExternalReference::address_of_stack_limit(isolate()); | 1223 ExternalReference::address_of_stack_limit(isolate()); |
| 1224 __ cmp(esp, Operand::StaticVariable(stack_limit)); | 1224 __ cmp(esp, Operand::StaticVariable(stack_limit)); |
| 1225 break; | 1225 break; |
| 1226 } | 1226 } |
| 1227 case kCheckedLoadWord64: |
| 1228 case kCheckedStoreWord64: |
| 1229 UNREACHABLE(); // currently unsupported checked int64 load/store. |
| 1230 break; |
| 1227 } | 1231 } |
| 1228 } // NOLINT(readability/fn_size) | 1232 } // NOLINT(readability/fn_size) |
| 1229 | 1233 |
| 1230 | 1234 |
| 1231 // Assembles a branch after an instruction. | 1235 // Assembles a branch after an instruction. |
| 1232 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { | 1236 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { |
| 1233 X87OperandConverter i(this, instr); | 1237 X87OperandConverter i(this, instr); |
| 1234 Label::Distance flabel_distance = | 1238 Label::Distance flabel_distance = |
| 1235 branch->fallthru ? Label::kNear : Label::kFar; | 1239 branch->fallthru ? Label::kNear : Label::kFar; |
| 1236 Label* tlabel = branch->true_label; | 1240 Label* tlabel = branch->true_label; |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1854 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
| 1851 __ Nop(padding_size); | 1855 __ Nop(padding_size); |
| 1852 } | 1856 } |
| 1853 } | 1857 } |
| 1854 | 1858 |
| 1855 #undef __ | 1859 #undef __ |
| 1856 | 1860 |
| 1857 } // namespace compiler | 1861 } // namespace compiler |
| 1858 } // namespace internal | 1862 } // namespace internal |
| 1859 } // namespace v8 | 1863 } // namespace v8 |
| OLD | NEW |