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

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

Issue 2650803003: [inspector] change target promise for kDebugWillHandle & kDebugDidHandle (Closed)
Patch Set: added missing guard in asyncTaskCreated 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
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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 F(ScriptLocationFromLine2, 4, 1) \ 194 F(ScriptLocationFromLine2, 4, 1) \
195 F(ScriptPositionInfo, 3, 1) \ 195 F(ScriptPositionInfo, 3, 1) \
196 F(ScriptPositionInfo2, 3, 1) \ 196 F(ScriptPositionInfo2, 3, 1) \
197 F(ScriptSourceLine, 2, 1) \ 197 F(ScriptSourceLine, 2, 1) \
198 F(DebugOnFunctionCall, 1, 1) \ 198 F(DebugOnFunctionCall, 1, 1) \
199 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ 199 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \
200 F(DebugRecordGenerator, 1, 1) \ 200 F(DebugRecordGenerator, 1, 1) \
201 F(DebugPushPromise, 1, 1) \ 201 F(DebugPushPromise, 1, 1) \
202 F(DebugPopPromise, 0, 1) \ 202 F(DebugPopPromise, 0, 1) \
203 F(DebugPromiseReject, 2, 1) \ 203 F(DebugPromiseReject, 2, 1) \
204 F(DebugNextAsyncTaskId, 1, 1) \
205 F(DebugAsyncEventEnqueueRecurring, 2, 1) \ 204 F(DebugAsyncEventEnqueueRecurring, 2, 1) \
206 F(DebugAsyncFunctionPromiseCreated, 1, 1) \ 205 F(DebugAsyncFunctionPromiseCreated, 1, 1) \
207 F(DebugIsActive, 0, 1) \ 206 F(DebugIsActive, 0, 1) \
208 F(DebugBreakInOptimizedCode, 0, 1) 207 F(DebugBreakInOptimizedCode, 0, 1)
209 208
210 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) 209 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1)
211 210
212 #define FOR_EACH_INTRINSIC_FORIN(F) \ 211 #define FOR_EACH_INTRINSIC_FORIN(F) \
213 F(ForInEnumerate, 1, 1) \ 212 F(ForInEnumerate, 1, 1) \
214 F(ForInFilter, 2, 1) \ 213 F(ForInFilter, 2, 1) \
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 #endif 285 #endif
287 286
288 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 287 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
289 F(AllocateInNewSpace, 1, 1) \ 288 F(AllocateInNewSpace, 1, 1) \
290 F(AllocateInTargetSpace, 2, 1) \ 289 F(AllocateInTargetSpace, 2, 1) \
291 F(AllocateSeqOneByteString, 1, 1) \ 290 F(AllocateSeqOneByteString, 1, 1) \
292 F(AllocateSeqTwoByteString, 1, 1) \ 291 F(AllocateSeqTwoByteString, 1, 1) \
293 F(CheckIsBootstrapping, 0, 1) \ 292 F(CheckIsBootstrapping, 0, 1) \
294 F(CreateListFromArrayLike, 1, 1) \ 293 F(CreateListFromArrayLike, 1, 1) \
295 F(EnqueueMicrotask, 1, 1) \ 294 F(EnqueueMicrotask, 1, 1) \
296 F(EnqueuePromiseReactionJob, 3, 1) \ 295 F(EnqueuePromiseReactionJob, 1, 1) \
297 F(EnqueuePromiseResolveThenableJob, 1, 1) \ 296 F(EnqueuePromiseResolveThenableJob, 1, 1) \
298 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ 297 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \
299 F(ExportExperimentalFromRuntime, 1, 1) \ 298 F(ExportExperimentalFromRuntime, 1, 1) \
300 F(ExportFromRuntime, 1, 1) \ 299 F(ExportFromRuntime, 1, 1) \
301 F(IncrementUseCounter, 1, 1) \ 300 F(IncrementUseCounter, 1, 1) \
302 F(InstallToContext, 1, 1) \ 301 F(InstallToContext, 1, 1) \
303 F(Interrupt, 0, 1) \ 302 F(Interrupt, 0, 1) \
304 F(IS_VAR, 1, 1) \ 303 F(IS_VAR, 1, 1) \
305 F(NewReferenceError, 2, 1) \ 304 F(NewReferenceError, 2, 1) \
306 F(NewSyntaxError, 2, 1) \ 305 F(NewSyntaxError, 2, 1) \
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 1151
1153 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1152 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1154 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1153 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1155 STATIC_ASSERT(LANGUAGE_END == 2); 1154 STATIC_ASSERT(LANGUAGE_END == 2);
1156 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1155 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1157 1156
1158 } // namespace internal 1157 } // namespace internal
1159 } // namespace v8 1158 } // namespace v8
1160 1159
1161 #endif // V8_RUNTIME_RUNTIME_H_ 1160 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698