| 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/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/ppc/macro-assembler-ppc.h" | 10 #include "src/ppc/macro-assembler-ppc.h" | 
| (...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1548     int current_pc = masm()->pc_offset(); | 1548     int current_pc = masm()->pc_offset(); | 
| 1549     if (current_pc < last_lazy_deopt_pc_ + space_needed) { | 1549     if (current_pc < last_lazy_deopt_pc_ + space_needed) { | 
| 1550       int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1550       int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 
| 1551       DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize); | 1551       DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize); | 
| 1552       while (padding_size > 0) { | 1552       while (padding_size > 0) { | 
| 1553         __ nop(); | 1553         __ nop(); | 
| 1554         padding_size -= v8::internal::Assembler::kInstrSize; | 1554         padding_size -= v8::internal::Assembler::kInstrSize; | 
| 1555       } | 1555       } | 
| 1556     } | 1556     } | 
| 1557   } | 1557   } | 
| 1558   MarkLazyDeoptSite(); |  | 
| 1559 } | 1558 } | 
| 1560 | 1559 | 
| 1561 #undef __ | 1560 #undef __ | 
| 1562 | 1561 | 
| 1563 }  // namespace compiler | 1562 }  // namespace compiler | 
| 1564 }  // namespace internal | 1563 }  // namespace internal | 
| 1565 }  // namespace v8 | 1564 }  // namespace v8 | 
| OLD | NEW | 
|---|