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 #include "src/compiler/code-generator-impl.h" | 6 #include "src/compiler/code-generator-impl.h" |
7 #include "src/compiler/gap-resolver.h" | 7 #include "src/compiler/gap-resolver.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/mips/macro-assembler-mips.h" | 9 #include "src/mips/macro-assembler-mips.h" |
10 #include "src/scopes.h" | 10 #include "src/scopes.h" |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 v8::internal::Assembler::BlockTrampolinePoolScope block_trampoline_pool( | 1407 v8::internal::Assembler::BlockTrampolinePoolScope block_trampoline_pool( |
1408 masm()); | 1408 masm()); |
1409 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 1409 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
1410 DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize); | 1410 DCHECK_EQ(0, padding_size % v8::internal::Assembler::kInstrSize); |
1411 while (padding_size > 0) { | 1411 while (padding_size > 0) { |
1412 __ nop(); | 1412 __ nop(); |
1413 padding_size -= v8::internal::Assembler::kInstrSize; | 1413 padding_size -= v8::internal::Assembler::kInstrSize; |
1414 } | 1414 } |
1415 } | 1415 } |
1416 } | 1416 } |
1417 MarkLazyDeoptSite(); | |
1418 } | 1417 } |
1419 | 1418 |
1420 #undef __ | 1419 #undef __ |
1421 | 1420 |
1422 } // namespace compiler | 1421 } // namespace compiler |
1423 } // namespace internal | 1422 } // namespace internal |
1424 } // namespace v8 | 1423 } // namespace v8 |
OLD | NEW |