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 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1210 // Block literal pool emission for duration of padding. | 1210 // Block literal pool emission for duration of padding. |
1211 v8::internal::Assembler::BlockConstPoolScope block_const_pool(masm()); | 1211 v8::internal::Assembler::BlockConstPoolScope block_const_pool(masm()); |
1212 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1212 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
1213 DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize); | 1213 DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize); |
1214 while (padding_size > 0) { | 1214 while (padding_size > 0) { |
1215 __ nop(); | 1215 __ nop(); |
1216 padding_size -= v8::internal::Assembler::kInstrSize; | 1216 padding_size -= v8::internal::Assembler::kInstrSize; |
1217 } | 1217 } |
1218 } | 1218 } |
1219 } | 1219 } |
1220 MarkLazyDeoptSite(); | |
1221 } | 1220 } |
1222 | 1221 |
1223 #undef __ | 1222 #undef __ |
1224 | 1223 |
1225 } // namespace compiler | 1224 } // namespace compiler |
1226 } // namespace internal | 1225 } // namespace internal |
1227 } // namespace v8 | 1226 } // namespace v8 |
OLD | NEW |