OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 bool* exc); | 129 bool* exc); |
130 static void ConfigureInstance(Handle<Object> instance, | 130 static void ConfigureInstance(Handle<Object> instance, |
131 Handle<Object> data, | 131 Handle<Object> data, |
132 bool* exc); | 132 bool* exc); |
133 static Handle<String> GetStackTraceLine(Handle<Object> recv, | 133 static Handle<String> GetStackTraceLine(Handle<Object> recv, |
134 Handle<JSFunction> fun, | 134 Handle<JSFunction> fun, |
135 Handle<Object> pos, | 135 Handle<Object> pos, |
136 Handle<Object> is_global); | 136 Handle<Object> is_global); |
137 #ifdef ENABLE_DEBUGGER_SUPPORT | 137 #ifdef ENABLE_DEBUGGER_SUPPORT |
138 static Object* DebugBreakHelper(); | 138 static Object* DebugBreakHelper(); |
139 static void ProcessDebugMesssages(bool debug_command_only); | 139 static void ProcessDebugMessages(bool debug_command_only); |
140 #endif | 140 #endif |
141 | 141 |
142 // If the stack guard is triggered, but it is not an actual | 142 // If the stack guard is triggered, but it is not an actual |
143 // stack overflow, then handle the interruption accordingly. | 143 // stack overflow, then handle the interruption accordingly. |
144 MUST_USE_RESULT static MaybeObject* HandleStackGuardInterrupt(); | 144 MUST_USE_RESULT static MaybeObject* HandleStackGuardInterrupt(); |
145 | 145 |
146 // Get a function delegate (or undefined) for the given non-function | 146 // Get a function delegate (or undefined) for the given non-function |
147 // object. Used for support calling objects as functions. | 147 // object. Used for support calling objects as functions. |
148 static Handle<Object> GetFunctionDelegate(Handle<Object> object); | 148 static Handle<Object> GetFunctionDelegate(Handle<Object> object); |
149 static Handle<Object> TryGetFunctionDelegate(Handle<Object> object, | 149 static Handle<Object> TryGetFunctionDelegate(Handle<Object> object, |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 friend class StackLimitCheck; | 296 friend class StackLimitCheck; |
297 friend class PostponeInterruptsScope; | 297 friend class PostponeInterruptsScope; |
298 | 298 |
299 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 299 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
300 }; | 300 }; |
301 | 301 |
302 | 302 |
303 } } // namespace v8::internal | 303 } } // namespace v8::internal |
304 | 304 |
305 #endif // V8_EXECUTION_H_ | 305 #endif // V8_EXECUTION_H_ |
OLD | NEW |