| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 // Get a function delegate (or undefined) for the given non-function | 169 // Get a function delegate (or undefined) for the given non-function |
| 170 // object. Used for support calling objects as constructors. | 170 // object. Used for support calling objects as constructors. |
| 171 static Handle<Object> GetConstructorDelegate(Isolate* isolate, | 171 static Handle<Object> GetConstructorDelegate(Isolate* isolate, |
| 172 Handle<Object> object); | 172 Handle<Object> object); |
| 173 static Handle<Object> TryGetConstructorDelegate(Isolate* isolate, | 173 static Handle<Object> TryGetConstructorDelegate(Isolate* isolate, |
| 174 Handle<Object> object, | 174 Handle<Object> object, |
| 175 bool* has_pending_exception); | 175 bool* has_pending_exception); |
| 176 | 176 |
| 177 static void RunMicrotasks(Isolate* isolate); | 177 static void RunMicrotasks(Isolate* isolate); |
| 178 static void EnqueueExternalMicrotask(Isolate* isolate, |
| 179 v8::MicrotaskCallback callback); |
| 178 }; | 180 }; |
| 179 | 181 |
| 180 | 182 |
| 181 class ExecutionAccess; | 183 class ExecutionAccess; |
| 182 | 184 |
| 183 | 185 |
| 184 // StackGuard contains the handling of the limits that are used to limit the | 186 // StackGuard contains the handling of the limits that are used to limit the |
| 185 // number of nested invocations of JavaScript and the stack size used in each | 187 // number of nested invocations of JavaScript and the stack size used in each |
| 186 // invocation. | 188 // invocation. |
| 187 class StackGuard { | 189 class StackGuard { |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 friend class StackLimitCheck; | 332 friend class StackLimitCheck; |
| 331 friend class PostponeInterruptsScope; | 333 friend class PostponeInterruptsScope; |
| 332 | 334 |
| 333 DISALLOW_COPY_AND_ASSIGN(StackGuard); | 335 DISALLOW_COPY_AND_ASSIGN(StackGuard); |
| 334 }; | 336 }; |
| 335 | 337 |
| 336 | 338 |
| 337 } } // namespace v8::internal | 339 } } // namespace v8::internal |
| 338 | 340 |
| 339 #endif // V8_EXECUTION_H_ | 341 #endif // V8_EXECUTION_H_ |
| OLD | NEW |