Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: src/execution.h

Issue 154283002: V8 Microtask Queue & API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: heapconst Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/contexts.h ('k') | src/execution.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 EnqueueMicrotask(Isolate* isolate, Handle<Object> microtask);
178 }; 179 };
179 180
180 181
181 class ExecutionAccess; 182 class ExecutionAccess;
182 183
183 184
184 // StackGuard contains the handling of the limits that are used to limit the 185 // 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 186 // number of nested invocations of JavaScript and the stack size used in each
186 // invocation. 187 // invocation.
187 class StackGuard { 188 class StackGuard {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 friend class StackLimitCheck; 331 friend class StackLimitCheck;
331 friend class PostponeInterruptsScope; 332 friend class PostponeInterruptsScope;
332 333
333 DISALLOW_COPY_AND_ASSIGN(StackGuard); 334 DISALLOW_COPY_AND_ASSIGN(StackGuard);
334 }; 335 };
335 336
336 337
337 } } // namespace v8::internal 338 } } // namespace v8::internal
338 339
339 #endif // V8_EXECUTION_H_ 340 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/execution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698