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

Side by Side Diff: src/execution.h

Issue 64223010: Harmony promises (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: TODO addressing Elliott's comment Created 7 years, 1 month 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') | src/promise.js » ('J')
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 Handle<Object> object, 164 Handle<Object> object,
165 bool* has_pending_exception); 165 bool* has_pending_exception);
166 166
167 // Get a function delegate (or undefined) for the given non-function 167 // Get a function delegate (or undefined) for the given non-function
168 // object. Used for support calling objects as constructors. 168 // object. Used for support calling objects as constructors.
169 static Handle<Object> GetConstructorDelegate(Isolate* isolate, 169 static Handle<Object> GetConstructorDelegate(Isolate* isolate,
170 Handle<Object> object); 170 Handle<Object> object);
171 static Handle<Object> TryGetConstructorDelegate(Isolate* isolate, 171 static Handle<Object> TryGetConstructorDelegate(Isolate* isolate,
172 Handle<Object> object, 172 Handle<Object> object,
173 bool* has_pending_exception); 173 bool* has_pending_exception);
174
175 static void RunMicrotasks(Isolate* isolate);
174 }; 176 };
175 177
176 178
177 class ExecutionAccess; 179 class ExecutionAccess;
178 180
179 181
180 // StackGuard contains the handling of the limits that are used to limit the 182 // StackGuard contains the handling of the limits that are used to limit the
181 // number of nested invocations of JavaScript and the stack size used in each 183 // number of nested invocations of JavaScript and the stack size used in each
182 // invocation. 184 // invocation.
183 class StackGuard { 185 class StackGuard {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 friend class StackLimitCheck; 318 friend class StackLimitCheck;
317 friend class PostponeInterruptsScope; 319 friend class PostponeInterruptsScope;
318 320
319 DISALLOW_COPY_AND_ASSIGN(StackGuard); 321 DISALLOW_COPY_AND_ASSIGN(StackGuard);
320 }; 322 };
321 323
322 324
323 } } // namespace v8::internal 325 } } // namespace v8::internal
324 326
325 #endif // V8_EXECUTION_H_ 327 #endif // V8_EXECUTION_H_
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/execution.cc » ('j') | src/promise.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698