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 #ifndef V8_EXECUTION_H_ | 5 #ifndef V8_EXECUTION_H_ |
6 #define V8_EXECUTION_H_ | 6 #define V8_EXECUTION_H_ |
7 | 7 |
| 8 #include "src/allocation.h" |
| 9 #include "src/base/atomicops.h" |
8 #include "src/handles.h" | 10 #include "src/handles.h" |
| 11 #include "src/utils.h" |
9 | 12 |
10 namespace v8 { | 13 namespace v8 { |
11 namespace internal { | 14 namespace internal { |
12 | 15 |
| 16 // Forward declarations. |
| 17 class JSRegExp; |
| 18 |
13 class Execution final : public AllStatic { | 19 class Execution final : public AllStatic { |
14 public: | 20 public: |
15 // Call a function, the caller supplies a receiver and an array | 21 // Call a function, the caller supplies a receiver and an array |
16 // of arguments. Arguments are Object* type. After function returns, | 22 // of arguments. Arguments are Object* type. After function returns, |
17 // pointers in 'args' might be invalid. | 23 // pointers in 'args' might be invalid. |
18 // | 24 // |
19 // *pending_exception tells whether the invoke resulted in | 25 // *pending_exception tells whether the invoke resulted in |
20 // a pending exception. | 26 // a pending exception. |
21 // | 27 // |
22 // When convert_receiver is set, and the receiver is not an object, | 28 // When convert_receiver is set, and the receiver is not an object, |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 friend class Isolate; | 289 friend class Isolate; |
284 friend class StackLimitCheck; | 290 friend class StackLimitCheck; |
285 friend class PostponeInterruptsScope; | 291 friend class PostponeInterruptsScope; |
286 | 292 |
287 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 293 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
288 }; | 294 }; |
289 | 295 |
290 } } // namespace v8::internal | 296 } } // namespace v8::internal |
291 | 297 |
292 #endif // V8_EXECUTION_H_ | 298 #endif // V8_EXECUTION_H_ |
OLD | NEW |