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

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

Issue 2360063002: [modules] Basic support of import statements. (Closed)
Patch Set: . Created 4 years, 3 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 F(ToString, 1, 1) \ 413 F(ToString, 1, 1) \
414 F(ToName, 1, 1) \ 414 F(ToName, 1, 1) \
415 F(SameValue, 2, 1) \ 415 F(SameValue, 2, 1) \
416 F(SameValueZero, 2, 1) \ 416 F(SameValueZero, 2, 1) \
417 F(Compare, 3, 1) \ 417 F(Compare, 3, 1) \
418 F(HasInPrototypeChain, 2, 1) \ 418 F(HasInPrototypeChain, 2, 1) \
419 F(CreateIterResultObject, 2, 1) \ 419 F(CreateIterResultObject, 2, 1) \
420 F(IsAccessCheckNeeded, 1, 1) \ 420 F(IsAccessCheckNeeded, 1, 1) \
421 F(CreateDataProperty, 3, 1) \ 421 F(CreateDataProperty, 3, 1) \
422 F(LoadModuleExport, 1, 1) \ 422 F(LoadModuleExport, 1, 1) \
423 F(LoadModuleImport, 2, 1) \
423 F(StoreModuleExport, 2, 1) 424 F(StoreModuleExport, 2, 1)
424 425
425 #define FOR_EACH_INTRINSIC_OPERATORS(F) \ 426 #define FOR_EACH_INTRINSIC_OPERATORS(F) \
426 F(Multiply, 2, 1) \ 427 F(Multiply, 2, 1) \
427 F(Divide, 2, 1) \ 428 F(Divide, 2, 1) \
428 F(Modulus, 2, 1) \ 429 F(Modulus, 2, 1) \
429 F(Add, 2, 1) \ 430 F(Add, 2, 1) \
430 F(Subtract, 2, 1) \ 431 F(Subtract, 2, 1) \
431 F(ShiftLeft, 2, 1) \ 432 F(ShiftLeft, 2, 1) \
432 F(ShiftRight, 2, 1) \ 433 F(ShiftRight, 2, 1) \
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 1126
1126 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1127 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1128 STATIC_ASSERT(LANGUAGE_END == 2); 1129 STATIC_ASSERT(LANGUAGE_END == 2);
1129 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1130 1131
1131 } // namespace internal 1132 } // namespace internal
1132 } // namespace v8 1133 } // namespace v8
1133 1134
1134 #endif // V8_RUNTIME_RUNTIME_H_ 1135 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698