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

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

Issue 2604483002: [promises] Move PromiseHasUserDefinedRejectHandler to c++ (Closed)
Patch Set: use getdataproperty Created 3 years, 12 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
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 F(NewTypeError, 2, 1) \ 306 F(NewTypeError, 2, 1) \
307 F(OrdinaryHasInstance, 2, 1) \ 307 F(OrdinaryHasInstance, 2, 1) \
308 F(PromiseDeferred, 1, 1) \ 308 F(PromiseDeferred, 1, 1) \
309 F(PromiseReject, 3, 1) \ 309 F(PromiseReject, 3, 1) \
310 F(PromiseFulfill, 3, 1) \ 310 F(PromiseFulfill, 3, 1) \
311 F(PromiseHookInit, 2, 1) \ 311 F(PromiseHookInit, 2, 1) \
312 F(PromiseHookResolve, 1, 1) \ 312 F(PromiseHookResolve, 1, 1) \
313 F(PromiseHookBefore, 1, 1) \ 313 F(PromiseHookBefore, 1, 1) \
314 F(PromiseHookAfter, 1, 1) \ 314 F(PromiseHookAfter, 1, 1) \
315 F(PromiseMarkAsHandled, 1, 1) \ 315 F(PromiseMarkAsHandled, 1, 1) \
316 F(PromiseMarkHandledHint, 1, 1) \
316 F(PromiseRejectEventFromStack, 2, 1) \ 317 F(PromiseRejectEventFromStack, 2, 1) \
317 F(PromiseRejectReactions, 1, 1) \ 318 F(PromiseRejectReactions, 1, 1) \
318 F(PromiseRevokeReject, 1, 1) \ 319 F(PromiseRevokeReject, 1, 1) \
319 F(PromiseResult, 1, 1) \ 320 F(PromiseResult, 1, 1) \
320 F(PromiseStatus, 1, 1) \ 321 F(PromiseStatus, 1, 1) \
321 F(PromoteScheduledException, 0, 1) \ 322 F(PromoteScheduledException, 0, 1) \
322 F(ReThrow, 1, 1) \ 323 F(ReThrow, 1, 1) \
323 F(RunMicrotasks, 0, 1) \ 324 F(RunMicrotasks, 0, 1) \
324 F(StackGuard, 0, 1) \ 325 F(StackGuard, 0, 1) \
325 F(Throw, 1, 1) \ 326 F(Throw, 1, 1) \
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 1148
1148 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1149 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1149 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1150 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1150 STATIC_ASSERT(LANGUAGE_END == 2); 1151 STATIC_ASSERT(LANGUAGE_END == 2);
1151 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1152 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1152 1153
1153 } // namespace internal 1154 } // namespace internal
1154 } // namespace v8 1155 } // namespace v8
1155 1156
1156 #endif // V8_RUNTIME_RUNTIME_H_ 1157 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698