| 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/node-properties-inl.h" | 10 #include "src/compiler/node-properties-inl.h" |
| (...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1242 // instruction for patching the code here. | 1242 // instruction for patching the code here. |
| 1243 int current_pc = masm()->pc_offset(); | 1243 int current_pc = masm()->pc_offset(); |
| 1244 if (current_pc < last_lazy_deopt_pc_ + space_needed) { | 1244 if (current_pc < last_lazy_deopt_pc_ + space_needed) { |
| 1245 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1245 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
| 1246 __ Nop(padding_size); | 1246 __ Nop(padding_size); |
| 1247 } | 1247 } |
| 1248 } | 1248 } |
| 1249 MarkLazyDeoptSite(); | 1249 MarkLazyDeoptSite(); |
| 1250 } | 1250 } |
| 1251 | 1251 |
| 1252 | |
| 1253 void CodeGenerator::EnsureRelocSpaceForLazyDeopt(Handle<Code> code) {} | |
| 1254 | |
| 1255 #undef __ | 1252 #undef __ |
| 1256 | 1253 |
| 1257 } // namespace internal | 1254 } // namespace internal |
| 1258 } // namespace compiler | 1255 } // namespace compiler |
| 1259 } // namespace v8 | 1256 } // namespace v8 |
| OLD | NEW |