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

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

Issue 2497523002: [promises] Move promise constructor to TFS (Closed)
Patch Set: fix nits Created 4 years 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/objects-inl.h ('k') | src/runtime/runtime-promise.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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 #define FOR_EACH_INTRINSIC_I18N(F) 282 #define FOR_EACH_INTRINSIC_I18N(F)
283 #endif 283 #endif
284 284
285 #define FOR_EACH_INTRINSIC_INTERNAL(F) \ 285 #define FOR_EACH_INTRINSIC_INTERNAL(F) \
286 F(AllocateInNewSpace, 1, 1) \ 286 F(AllocateInNewSpace, 1, 1) \
287 F(AllocateInTargetSpace, 2, 1) \ 287 F(AllocateInTargetSpace, 2, 1) \
288 F(AllocateSeqOneByteString, 1, 1) \ 288 F(AllocateSeqOneByteString, 1, 1) \
289 F(AllocateSeqTwoByteString, 1, 1) \ 289 F(AllocateSeqTwoByteString, 1, 1) \
290 F(CheckIsBootstrapping, 0, 1) \ 290 F(CheckIsBootstrapping, 0, 1) \
291 F(CreateListFromArrayLike, 1, 1) \ 291 F(CreateListFromArrayLike, 1, 1) \
292 F(CreateResolvingFunctions, 1, 1) \
292 F(EnqueueMicrotask, 1, 1) \ 293 F(EnqueueMicrotask, 1, 1) \
293 F(EnqueuePromiseReactionJob, 4, 1) \ 294 F(EnqueuePromiseReactionJob, 4, 1) \
294 F(EnqueuePromiseResolveThenableJob, 3, 1) \ 295 F(EnqueuePromiseResolveThenableJob, 3, 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) \
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 1129
1129 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1130 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1131 STATIC_ASSERT(LANGUAGE_END == 2); 1132 STATIC_ASSERT(LANGUAGE_END == 2);
1132 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1133 1134
1134 } // namespace internal 1135 } // namespace internal
1135 } // namespace v8 1136 } // namespace v8
1136 1137
1137 #endif // V8_RUNTIME_RUNTIME_H_ 1138 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-promise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698