| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data, | 111 static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data, |
| 112 bool* exc); | 112 bool* exc); |
| 113 static void ConfigureInstance(Handle<Object> instance, | 113 static void ConfigureInstance(Handle<Object> instance, |
| 114 Handle<Object> data, | 114 Handle<Object> data, |
| 115 bool* exc); | 115 bool* exc); |
| 116 static Handle<String> GetStackTraceLine(Handle<Object> recv, | 116 static Handle<String> GetStackTraceLine(Handle<Object> recv, |
| 117 Handle<JSFunction> fun, | 117 Handle<JSFunction> fun, |
| 118 Handle<Object> pos, | 118 Handle<Object> pos, |
| 119 Handle<Object> is_global); | 119 Handle<Object> is_global); |
| 120 | 120 |
| 121 static Object* DebugBreakHelper(); |
| 122 |
| 123 // If the stack guard is triggered, but it is not an actual |
| 124 // stack overflow, then handle the interruption accordingly. |
| 125 static Object* HandleStackGuardInterrupt(); |
| 126 |
| 121 // Get a function delegate (or undefined) for the given non-function | 127 // Get a function delegate (or undefined) for the given non-function |
| 122 // object. Used for support calling objects as functions. | 128 // object. Used for support calling objects as functions. |
| 123 static Handle<Object> GetFunctionDelegate(Handle<Object> object); | 129 static Handle<Object> GetFunctionDelegate(Handle<Object> object); |
| 124 }; | 130 }; |
| 125 | 131 |
| 126 | 132 |
| 127 class ExecutionAccess; | 133 class ExecutionAccess; |
| 128 | 134 |
| 129 | 135 |
| 130 // Stack guards are used to limit the number of nested invocations of | 136 // Stack guards are used to limit the number of nested invocations of |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 v8::Handle<v8::String> name); | 259 v8::Handle<v8::String> name); |
| 254 static v8::Handle<v8::Value> GC(const v8::Arguments& args); | 260 static v8::Handle<v8::Value> GC(const v8::Arguments& args); |
| 255 private: | 261 private: |
| 256 static const char* kSource; | 262 static const char* kSource; |
| 257 }; | 263 }; |
| 258 | 264 |
| 259 | 265 |
| 260 } } // namespace v8::internal | 266 } } // namespace v8::internal |
| 261 | 267 |
| 262 #endif // V8_EXECUTION_H_ | 268 #endif // V8_EXECUTION_H_ |
| OLD | NEW |