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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
8 | 8 |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 5501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5512 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address))); | 5512 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address))); |
5513 | 5513 |
5514 if (interrupt_address == isolate->builtins()->OnStackReplacement()->entry()) { | 5514 if (interrupt_address == isolate->builtins()->OnStackReplacement()->entry()) { |
5515 return ON_STACK_REPLACEMENT; | 5515 return ON_STACK_REPLACEMENT; |
5516 } | 5516 } |
5517 | 5517 |
5518 DCHECK(interrupt_address == | 5518 DCHECK(interrupt_address == |
5519 isolate->builtins()->OsrAfterStackCheck()->entry()); | 5519 isolate->builtins()->OsrAfterStackCheck()->entry()); |
5520 return OSR_AFTER_STACK_CHECK; | 5520 return OSR_AFTER_STACK_CHECK; |
5521 } | 5521 } |
5522 } | 5522 } // namespace internal |
5523 } // namespace v8::internal | 5523 } // namespace v8 |
5524 #endif // V8_TARGET_ARCH_PPC | 5524 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |