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 "execution.h" | 5 #include "src/execution.h" |
6 | 6 |
7 #include "bootstrapper.h" | 7 #include "src/bootstrapper.h" |
8 #include "codegen.h" | 8 #include "src/codegen.h" |
9 #include "deoptimizer.h" | 9 #include "src/deoptimizer.h" |
10 #include "isolate-inl.h" | 10 #include "src/isolate-inl.h" |
11 #include "vm-state-inl.h" | 11 #include "src/vm-state-inl.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 StackGuard::StackGuard() | 16 StackGuard::StackGuard() |
17 : isolate_(NULL) { | 17 : isolate_(NULL) { |
18 } | 18 } |
19 | 19 |
20 | 20 |
21 void StackGuard::set_interrupt_limits(const ExecutionAccess& lock) { | 21 void StackGuard::set_interrupt_limits(const ExecutionAccess& lock) { |
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 | 746 |
747 if (has_api_interrupt) { | 747 if (has_api_interrupt) { |
748 // Callback must be invoked outside of ExecusionAccess lock. | 748 // Callback must be invoked outside of ExecusionAccess lock. |
749 isolate_->InvokeApiInterruptCallback(); | 749 isolate_->InvokeApiInterruptCallback(); |
750 } | 750 } |
751 | 751 |
752 return isolate_->heap()->undefined_value(); | 752 return isolate_->heap()->undefined_value(); |
753 } | 753 } |
754 | 754 |
755 } } // namespace v8::internal | 755 } } // namespace v8::internal |
OLD | NEW |