| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 bool* exc); | 115 bool* exc); |
| 116 static void ConfigureInstance(Handle<Object> instance, | 116 static void ConfigureInstance(Handle<Object> instance, |
| 117 Handle<Object> data, | 117 Handle<Object> data, |
| 118 bool* exc); | 118 bool* exc); |
| 119 static Handle<String> GetStackTraceLine(Handle<Object> recv, | 119 static Handle<String> GetStackTraceLine(Handle<Object> recv, |
| 120 Handle<JSFunction> fun, | 120 Handle<JSFunction> fun, |
| 121 Handle<Object> pos, | 121 Handle<Object> pos, |
| 122 Handle<Object> is_global); | 122 Handle<Object> is_global); |
| 123 #ifdef ENABLE_DEBUGGER_SUPPORT | 123 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 124 static Object* DebugBreakHelper(); | 124 static Object* DebugBreakHelper(); |
| 125 static void ProcessDebugMesssages(bool debug_command_only); |
| 125 #endif | 126 #endif |
| 126 | 127 |
| 127 // If the stack guard is triggered, but it is not an actual | 128 // If the stack guard is triggered, but it is not an actual |
| 128 // stack overflow, then handle the interruption accordingly. | 129 // stack overflow, then handle the interruption accordingly. |
| 129 static Object* HandleStackGuardInterrupt(); | 130 static Object* HandleStackGuardInterrupt(); |
| 130 | 131 |
| 131 // Get a function delegate (or undefined) for the given non-function | 132 // Get a function delegate (or undefined) for the given non-function |
| 132 // object. Used for support calling objects as functions. | 133 // object. Used for support calling objects as functions. |
| 133 static Handle<Object> GetFunctionDelegate(Handle<Object> object); | 134 static Handle<Object> GetFunctionDelegate(Handle<Object> object); |
| 134 | 135 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 v8::Handle<v8::String> name); | 304 v8::Handle<v8::String> name); |
| 304 static v8::Handle<v8::Value> GC(const v8::Arguments& args); | 305 static v8::Handle<v8::Value> GC(const v8::Arguments& args); |
| 305 private: | 306 private: |
| 306 static const char* kSource; | 307 static const char* kSource; |
| 307 }; | 308 }; |
| 308 | 309 |
| 309 | 310 |
| 310 } } // namespace v8::internal | 311 } } // namespace v8::internal |
| 311 | 312 |
| 312 #endif // V8_EXECUTION_H_ | 313 #endif // V8_EXECUTION_H_ |
| OLD | NEW |