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

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

Issue 2578923002: [inspector] async stacks for Promise.then calls... (Closed)
Patch Set: avoid calling functions Created 3 years, 11 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/macros.py ('k') | src/runtime/runtime-debug.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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 F(ScriptLocationFromLine, 4, 1) \ 192 F(ScriptLocationFromLine, 4, 1) \
193 F(ScriptLocationFromLine2, 4, 1) \ 193 F(ScriptLocationFromLine2, 4, 1) \
194 F(ScriptPositionInfo, 3, 1) \ 194 F(ScriptPositionInfo, 3, 1) \
195 F(ScriptPositionInfo2, 3, 1) \ 195 F(ScriptPositionInfo2, 3, 1) \
196 F(ScriptSourceLine, 2, 1) \ 196 F(ScriptSourceLine, 2, 1) \
197 F(DebugPrepareStepInIfStepping, 1, 1) \ 197 F(DebugPrepareStepInIfStepping, 1, 1) \
198 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ 198 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \
199 F(DebugRecordGenerator, 1, 1) \ 199 F(DebugRecordGenerator, 1, 1) \
200 F(DebugPushPromise, 1, 1) \ 200 F(DebugPushPromise, 1, 1) \
201 F(DebugPopPromise, 0, 1) \ 201 F(DebugPopPromise, 0, 1) \
202 F(DebugNextMicrotaskId, 0, 1) \ 202 F(DebugNextAsyncTaskId, 1, 1) \
203 F(DebugAsyncTaskEvent, 3, 1) \ 203 F(DebugAsyncEventEnqueueRecurring, 2, 1) \
204 F(DebugAsyncFunctionPromiseCreated, 1, 1) \
204 F(DebugIsActive, 0, 1) \ 205 F(DebugIsActive, 0, 1) \
205 F(DebugBreakInOptimizedCode, 0, 1) 206 F(DebugBreakInOptimizedCode, 0, 1)
206 207
207 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) 208 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1)
208 209
209 #define FOR_EACH_INTRINSIC_FORIN(F) \ 210 #define FOR_EACH_INTRINSIC_FORIN(F) \
210 F(ForInEnumerate, 1, 1) \ 211 F(ForInEnumerate, 1, 1) \
211 F(ForInFilter, 2, 1) \ 212 F(ForInFilter, 2, 1) \
212 F(ForInHasProperty, 2, 1) \ 213 F(ForInHasProperty, 2, 1) \
213 F(ForInNext, 4, 1) 214 F(ForInNext, 4, 1)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 #endif 284 #endif
284 285
285 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 286 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
286 F(AllocateInNewSpace, 1, 1) \ 287 F(AllocateInNewSpace, 1, 1) \
287 F(AllocateInTargetSpace, 2, 1) \ 288 F(AllocateInTargetSpace, 2, 1) \
288 F(AllocateSeqOneByteString, 1, 1) \ 289 F(AllocateSeqOneByteString, 1, 1) \
289 F(AllocateSeqTwoByteString, 1, 1) \ 290 F(AllocateSeqTwoByteString, 1, 1) \
290 F(CheckIsBootstrapping, 0, 1) \ 291 F(CheckIsBootstrapping, 0, 1) \
291 F(CreateListFromArrayLike, 1, 1) \ 292 F(CreateListFromArrayLike, 1, 1) \
292 F(EnqueueMicrotask, 1, 1) \ 293 F(EnqueueMicrotask, 1, 1) \
293 F(EnqueuePromiseReactionJob, 2, 1) \ 294 F(EnqueuePromiseReactionJob, 3, 1) \
294 F(EnqueuePromiseResolveThenableJob, 1, 1) \ 295 F(EnqueuePromiseResolveThenableJob, 1, 1) \
295 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ 296 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \
296 F(ExportExperimentalFromRuntime, 1, 1) \ 297 F(ExportExperimentalFromRuntime, 1, 1) \
297 F(ExportFromRuntime, 1, 1) \ 298 F(ExportFromRuntime, 1, 1) \
298 F(IncrementUseCounter, 1, 1) \ 299 F(IncrementUseCounter, 1, 1) \
299 F(InstallToContext, 1, 1) \ 300 F(InstallToContext, 1, 1) \
300 F(Interrupt, 0, 1) \ 301 F(Interrupt, 0, 1) \
301 F(IS_VAR, 1, 1) \ 302 F(IS_VAR, 1, 1) \
302 F(NewReferenceError, 2, 1) \ 303 F(NewReferenceError, 2, 1) \
303 F(NewSyntaxError, 2, 1) \ 304 F(NewSyntaxError, 2, 1) \
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 1147
1147 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1148 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1148 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1149 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1149 STATIC_ASSERT(LANGUAGE_END == 2); 1150 STATIC_ASSERT(LANGUAGE_END == 2);
1150 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1151 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1151 1152
1152 } // namespace internal 1153 } // namespace internal
1153 } // namespace v8 1154 } // namespace v8
1154 1155
1155 #endif // V8_RUNTIME_RUNTIME_H_ 1156 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/js/macros.py ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698