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

Side by Side Diff: src/runtime/runtime.h

Issue 2244003003: Change which ExceptionEvents are triggered by Promises (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed typos Created 4 years, 3 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
« no previous file with comments | « src/js/promise.js ('k') | src/runtime/runtime-internal.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 F(IncrementUseCounter, 1, 1) \ 297 F(IncrementUseCounter, 1, 1) \
298 F(InstallToContext, 1, 1) \ 298 F(InstallToContext, 1, 1) \
299 F(Interrupt, 0, 1) \ 299 F(Interrupt, 0, 1) \
300 F(IS_VAR, 1, 1) \ 300 F(IS_VAR, 1, 1) \
301 F(IsWasmObject, 1, 1) \ 301 F(IsWasmObject, 1, 1) \
302 F(NewReferenceError, 2, 1) \ 302 F(NewReferenceError, 2, 1) \
303 F(NewSyntaxError, 2, 1) \ 303 F(NewSyntaxError, 2, 1) \
304 F(NewTypeError, 2, 1) \ 304 F(NewTypeError, 2, 1) \
305 F(OrdinaryHasInstance, 2, 1) \ 305 F(OrdinaryHasInstance, 2, 1) \
306 F(PromiseRejectEvent, 3, 1) \ 306 F(PromiseRejectEvent, 3, 1) \
307 F(PromiseRejectEventFromStack, 2, 1) \
307 F(PromiseRevokeReject, 1, 1) \ 308 F(PromiseRevokeReject, 1, 1) \
308 F(PromoteScheduledException, 0, 1) \ 309 F(PromoteScheduledException, 0, 1) \
309 F(ReThrow, 1, 1) \ 310 F(ReThrow, 1, 1) \
310 F(RunMicrotasks, 0, 1) \ 311 F(RunMicrotasks, 0, 1) \
311 F(StackGuard, 0, 1) \ 312 F(StackGuard, 0, 1) \
312 F(Throw, 1, 1) \ 313 F(Throw, 1, 1) \
313 F(ThrowApplyNonFunction, 1, 1) \ 314 F(ThrowApplyNonFunction, 1, 1) \
314 F(ThrowCannotConvertToPrimitive, 0, 1) \ 315 F(ThrowCannotConvertToPrimitive, 0, 1) \
315 F(ThrowCalledNonCallable, 1, 1) \ 316 F(ThrowCalledNonCallable, 1, 1) \
316 F(ThrowCalledOnNullOrUndefined, 1, 1) \ 317 F(ThrowCalledOnNullOrUndefined, 1, 1) \
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 1140
1140 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1141 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1141 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1142 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1142 STATIC_ASSERT(LANGUAGE_END == 2); 1143 STATIC_ASSERT(LANGUAGE_END == 2);
1143 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1144 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1144 1145
1145 } // namespace internal 1146 } // namespace internal
1146 } // namespace v8 1147 } // namespace v8
1147 1148
1148 #endif // V8_RUNTIME_RUNTIME_H_ 1149 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/promise.js ('k') | src/runtime/runtime-internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698