| 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/scopes.h" |    10 #include "src/scopes.h" | 
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1044       break; |  1044       break; | 
|  1045     case kCheckedStoreWord32: |  1045     case kCheckedStoreWord32: | 
|  1046       ASSEMBLE_CHECKED_STORE_INTEGER(movl); |  1046       ASSEMBLE_CHECKED_STORE_INTEGER(movl); | 
|  1047       break; |  1047       break; | 
|  1048     case kCheckedStoreFloat32: |  1048     case kCheckedStoreFloat32: | 
|  1049       ASSEMBLE_CHECKED_STORE_FLOAT(movss); |  1049       ASSEMBLE_CHECKED_STORE_FLOAT(movss); | 
|  1050       break; |  1050       break; | 
|  1051     case kCheckedStoreFloat64: |  1051     case kCheckedStoreFloat64: | 
|  1052       ASSEMBLE_CHECKED_STORE_FLOAT(movsd); |  1052       ASSEMBLE_CHECKED_STORE_FLOAT(movsd); | 
|  1053       break; |  1053       break; | 
 |  1054     case kX64StackCheck: | 
 |  1055       __ CompareRoot(rsp, Heap::kStackLimitRootIndex); | 
 |  1056       break; | 
|  1054   } |  1057   } | 
|  1055 }  // NOLINT(readability/fn_size) |  1058 }  // NOLINT(readability/fn_size) | 
|  1056  |  1059  | 
|  1057  |  1060  | 
|  1058 // Assembles branches after this instruction. |  1061 // Assembles branches after this instruction. | 
|  1059 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { |  1062 void CodeGenerator::AssembleArchBranch(Instruction* instr, BranchInfo* branch) { | 
|  1060   X64OperandConverter i(this, instr); |  1063   X64OperandConverter i(this, instr); | 
|  1061   Label::Distance flabel_distance = |  1064   Label::Distance flabel_distance = | 
|  1062       branch->fallthru ? Label::kNear : Label::kFar; |  1065       branch->fallthru ? Label::kNear : Label::kFar; | 
|  1063   Label* tlabel = branch->true_label; |  1066   Label* tlabel = branch->true_label; | 
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1489     } |  1492     } | 
|  1490   } |  1493   } | 
|  1491   MarkLazyDeoptSite(); |  1494   MarkLazyDeoptSite(); | 
|  1492 } |  1495 } | 
|  1493  |  1496  | 
|  1494 #undef __ |  1497 #undef __ | 
|  1495  |  1498  | 
|  1496 }  // namespace internal |  1499 }  // namespace internal | 
|  1497 }  // namespace compiler |  1500 }  // namespace compiler | 
|  1498 }  // namespace v8 |  1501 }  // namespace v8 | 
| OLD | NEW |