| 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 "handles.h" | 8 #include "handles.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 Handle<FunctionTemplateInfo> data); | 97 Handle<FunctionTemplateInfo> data); |
| 98 MUST_USE_RESULT static MaybeHandle<JSObject> InstantiateObject( | 98 MUST_USE_RESULT static MaybeHandle<JSObject> InstantiateObject( |
| 99 Handle<ObjectTemplateInfo> data); | 99 Handle<ObjectTemplateInfo> data); |
| 100 MUST_USE_RESULT static MaybeHandle<Object> ConfigureInstance( | 100 MUST_USE_RESULT static MaybeHandle<Object> ConfigureInstance( |
| 101 Isolate* isolate, Handle<Object> instance, Handle<Object> data); | 101 Isolate* isolate, Handle<Object> instance, Handle<Object> data); |
| 102 static Handle<String> GetStackTraceLine(Handle<Object> recv, | 102 static Handle<String> GetStackTraceLine(Handle<Object> recv, |
| 103 Handle<JSFunction> fun, | 103 Handle<JSFunction> fun, |
| 104 Handle<Object> pos, | 104 Handle<Object> pos, |
| 105 Handle<Object> is_global); | 105 Handle<Object> is_global); |
| 106 | 106 |
| 107 static void DebugBreakHelper(Isolate* isolate); | |
| 108 static void ProcessDebugMessages(Isolate* isolate, bool debug_command_only); | |
| 109 | |
| 110 // Get a function delegate (or undefined) for the given non-function | 107 // Get a function delegate (or undefined) for the given non-function |
| 111 // object. Used for support calling objects as functions. | 108 // object. Used for support calling objects as functions. |
| 112 static Handle<Object> GetFunctionDelegate(Isolate* isolate, | 109 static Handle<Object> GetFunctionDelegate(Isolate* isolate, |
| 113 Handle<Object> object); | 110 Handle<Object> object); |
| 114 MUST_USE_RESULT static MaybeHandle<Object> TryGetFunctionDelegate( | 111 MUST_USE_RESULT static MaybeHandle<Object> TryGetFunctionDelegate( |
| 115 Isolate* isolate, | 112 Isolate* isolate, |
| 116 Handle<Object> object); | 113 Handle<Object> object); |
| 117 | 114 |
| 118 // Get a function delegate (or undefined) for the given non-function | 115 // Get a function delegate (or undefined) for the given non-function |
| 119 // object. Used for support calling objects as constructors. | 116 // object. Used for support calling objects as constructors. |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 friend class Isolate; | 275 friend class Isolate; |
| 279 friend class StackLimitCheck; | 276 friend class StackLimitCheck; |
| 280 friend class PostponeInterruptsScope; | 277 friend class PostponeInterruptsScope; |
| 281 | 278 |
| 282 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 279 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
| 283 }; | 280 }; |
| 284 | 281 |
| 285 } } // namespace v8::internal | 282 } } // namespace v8::internal |
| 286 | 283 |
| 287 #endif // V8_EXECUTION_H_ | 284 #endif // V8_EXECUTION_H_ |
| OLD | NEW |