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

Side by Side Diff: src/runtime.h

Issue 440773004: Trigger exception debug events on Promise reject. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: comments Created 6 years, 4 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/promise.js ('k') | src/runtime.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_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/zone.h" 9 #include "src/zone.h"
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 F(GetOptimizationStatus, -1, 1) \ 69 F(GetOptimizationStatus, -1, 1) \
70 F(IsOptimized, 0, 1) /* TODO(turbofan): Only temporary */ \ 70 F(IsOptimized, 0, 1) /* TODO(turbofan): Only temporary */ \
71 F(GetOptimizationCount, 1, 1) \ 71 F(GetOptimizationCount, 1, 1) \
72 F(UnblockConcurrentRecompilation, 0, 1) \ 72 F(UnblockConcurrentRecompilation, 0, 1) \
73 F(CompileForOnStackReplacement, 1, 1) \ 73 F(CompileForOnStackReplacement, 1, 1) \
74 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \ 74 F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \
75 F(SetNativeFlag, 1, 1) \ 75 F(SetNativeFlag, 1, 1) \
76 F(SetInlineBuiltinFlag, 1, 1) \ 76 F(SetInlineBuiltinFlag, 1, 1) \
77 F(StoreArrayLiteralElement, 5, 1) \ 77 F(StoreArrayLiteralElement, 5, 1) \
78 F(DebugPrepareStepInIfStepping, 1, 1) \ 78 F(DebugPrepareStepInIfStepping, 1, 1) \
79 F(DebugPromiseHandlePrologue, 1, 1) \ 79 F(DebugPushPromise, 1, 1) \
80 F(DebugPromiseHandleEpilogue, 0, 1) \ 80 F(DebugPopPromise, 0, 1) \
81 F(DebugPromiseEvent, 1, 1) \ 81 F(DebugPromiseEvent, 1, 1) \
82 F(DebugPromiseRejectEvent, 2, 1) \
82 F(DebugAsyncTaskEvent, 1, 1) \ 83 F(DebugAsyncTaskEvent, 1, 1) \
83 F(FlattenString, 1, 1) \ 84 F(FlattenString, 1, 1) \
84 F(LoadMutableDouble, 2, 1) \ 85 F(LoadMutableDouble, 2, 1) \
85 F(TryMigrateInstance, 1, 1) \ 86 F(TryMigrateInstance, 1, 1) \
86 F(NotifyContextDisposed, 0, 1) \ 87 F(NotifyContextDisposed, 0, 1) \
87 \ 88 \
88 /* Array join support */ \ 89 /* Array join support */ \
89 F(PushIfAbsent, 2, 1) \ 90 F(PushIfAbsent, 2, 1) \
90 F(ArrayConcat, 1, 1) \ 91 F(ArrayConcat, 1, 1) \
91 \ 92 \
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 901 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
901 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 902 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
902 903
903 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 904 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
904 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 905 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
905 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 906 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
906 907
907 } } // namespace v8::internal 908 } } // namespace v8::internal
908 909
909 #endif // V8_RUNTIME_H_ 910 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/promise.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698