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

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

Issue 2465283004: [modules] Maintain array of cells for imports and local exports. (Closed)
Patch Set: Rename parameter also in header file. Created 4 years, 1 month 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-module.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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 352 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
353 F(LiveEditPatchFunctionPositions, 2, 1) \ 353 F(LiveEditPatchFunctionPositions, 2, 1) \
354 F(LiveEditCheckAndDropActivations, 3, 1) \ 354 F(LiveEditCheckAndDropActivations, 3, 1) \
355 F(LiveEditCompareStrings, 2, 1) \ 355 F(LiveEditCompareStrings, 2, 1) \
356 F(LiveEditRestartFrame, 2, 1) 356 F(LiveEditRestartFrame, 2, 1)
357 357
358 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1) 358 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1)
359 359
360 #define FOR_EACH_INTRINSIC_MODULE(F) \ 360 #define FOR_EACH_INTRINSIC_MODULE(F) \
361 F(GetModuleNamespace, 1, 1) \ 361 F(GetModuleNamespace, 1, 1) \
362 F(LoadModuleExport, 1, 1) \ 362 F(LoadModuleVariable, 1, 1) \
363 F(LoadModuleImport, 2, 1) \ 363 F(StoreModuleVariable, 2, 1)
364 F(StoreModuleExport, 2, 1)
365 364
366 #define FOR_EACH_INTRINSIC_NUMBERS(F) \ 365 #define FOR_EACH_INTRINSIC_NUMBERS(F) \
367 F(IsValidSmi, 1, 1) \ 366 F(IsValidSmi, 1, 1) \
368 F(StringToNumber, 1, 1) \ 367 F(StringToNumber, 1, 1) \
369 F(StringParseInt, 2, 1) \ 368 F(StringParseInt, 2, 1) \
370 F(StringParseFloat, 1, 1) \ 369 F(StringParseFloat, 1, 1) \
371 F(NumberToString, 1, 1) \ 370 F(NumberToString, 1, 1) \
372 F(NumberToStringSkipCache, 1, 1) \ 371 F(NumberToStringSkipCache, 1, 1) \
373 F(NumberToSmi, 1, 1) \ 372 F(NumberToSmi, 1, 1) \
374 F(SmiLexicographicCompare, 2, 1) \ 373 F(SmiLexicographicCompare, 2, 1) \
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 1129
1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1133 STATIC_ASSERT(LANGUAGE_END == 2); 1132 STATIC_ASSERT(LANGUAGE_END == 2);
1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1135 1134
1136 } // namespace internal 1135 } // namespace internal
1137 } // namespace v8 1136 } // namespace v8
1138 1137
1139 #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-module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698