| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 Handle<JSFunction> fun, | 125 Handle<JSFunction> fun, |
| 126 Handle<Object> pos, | 126 Handle<Object> pos, |
| 127 Handle<Object> is_global); | 127 Handle<Object> is_global); |
| 128 #ifdef ENABLE_DEBUGGER_SUPPORT | 128 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 129 static Object* DebugBreakHelper(); | 129 static Object* DebugBreakHelper(); |
| 130 static void ProcessDebugMesssages(bool debug_command_only); | 130 static void ProcessDebugMesssages(bool debug_command_only); |
| 131 #endif | 131 #endif |
| 132 | 132 |
| 133 // If the stack guard is triggered, but it is not an actual | 133 // If the stack guard is triggered, but it is not an actual |
| 134 // stack overflow, then handle the interruption accordingly. | 134 // stack overflow, then handle the interruption accordingly. |
| 135 static Object* HandleStackGuardInterrupt(); | 135 MUST_USE_RESULT static MaybeObject* HandleStackGuardInterrupt(); |
| 136 | 136 |
| 137 // Get a function delegate (or undefined) for the given non-function | 137 // Get a function delegate (or undefined) for the given non-function |
| 138 // object. Used for support calling objects as functions. | 138 // object. Used for support calling objects as functions. |
| 139 static Handle<Object> GetFunctionDelegate(Handle<Object> object); | 139 static Handle<Object> GetFunctionDelegate(Handle<Object> object); |
| 140 | 140 |
| 141 // Get a function delegate (or undefined) for the given non-function | 141 // Get a function delegate (or undefined) for the given non-function |
| 142 // object. Used for support calling objects as constructors. | 142 // object. Used for support calling objects as constructors. |
| 143 static Handle<Object> GetConstructorDelegate(Handle<Object> object); | 143 static Handle<Object> GetConstructorDelegate(Handle<Object> object); |
| 144 }; | 144 }; |
| 145 | 145 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 v8::Handle<v8::String> name); | 332 v8::Handle<v8::String> name); |
| 333 static v8::Handle<v8::Value> Externalize(const v8::Arguments& args); | 333 static v8::Handle<v8::Value> Externalize(const v8::Arguments& args); |
| 334 static v8::Handle<v8::Value> IsAscii(const v8::Arguments& args); | 334 static v8::Handle<v8::Value> IsAscii(const v8::Arguments& args); |
| 335 private: | 335 private: |
| 336 static const char* const kSource; | 336 static const char* const kSource; |
| 337 }; | 337 }; |
| 338 | 338 |
| 339 } } // namespace v8::internal | 339 } } // namespace v8::internal |
| 340 | 340 |
| 341 #endif // V8_EXECUTION_H_ | 341 #endif // V8_EXECUTION_H_ |
| OLD | NEW |