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

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

Issue 2302783002: [modules] Basic support of exports (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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 F(ToInteger, 1, 1) \ 408 F(ToInteger, 1, 1) \
409 F(ToLength, 1, 1) \ 409 F(ToLength, 1, 1) \
410 F(ToString, 1, 1) \ 410 F(ToString, 1, 1) \
411 F(ToName, 1, 1) \ 411 F(ToName, 1, 1) \
412 F(SameValue, 2, 1) \ 412 F(SameValue, 2, 1) \
413 F(SameValueZero, 2, 1) \ 413 F(SameValueZero, 2, 1) \
414 F(Compare, 3, 1) \ 414 F(Compare, 3, 1) \
415 F(HasInPrototypeChain, 2, 1) \ 415 F(HasInPrototypeChain, 2, 1) \
416 F(CreateIterResultObject, 2, 1) \ 416 F(CreateIterResultObject, 2, 1) \
417 F(IsAccessCheckNeeded, 1, 1) \ 417 F(IsAccessCheckNeeded, 1, 1) \
418 F(CreateDataProperty, 3, 1) 418 F(CreateDataProperty, 3, 1) \
419 F(LoadModuleExport, 1, 1) \
420 F(StoreModuleExport, 2, 1)
419 421
420 #define FOR_EACH_INTRINSIC_OPERATORS(F) \ 422 #define FOR_EACH_INTRINSIC_OPERATORS(F) \
421 F(Multiply, 2, 1) \ 423 F(Multiply, 2, 1) \
422 F(Divide, 2, 1) \ 424 F(Divide, 2, 1) \
423 F(Modulus, 2, 1) \ 425 F(Modulus, 2, 1) \
424 F(Add, 2, 1) \ 426 F(Add, 2, 1) \
425 F(Subtract, 2, 1) \ 427 F(Subtract, 2, 1) \
426 F(ShiftLeft, 2, 1) \ 428 F(ShiftLeft, 2, 1) \
427 F(ShiftRight, 2, 1) \ 429 F(ShiftRight, 2, 1) \
428 F(ShiftRightLogical, 2, 1) \ 430 F(ShiftRightLogical, 2, 1) \
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 F(DeclareEvalVar, 1, 1) \ 470 F(DeclareEvalVar, 1, 1) \
469 F(NewSloppyArguments_Generic, 1, 1) \ 471 F(NewSloppyArguments_Generic, 1, 1) \
470 F(NewStrictArguments, 1, 1) \ 472 F(NewStrictArguments, 1, 1) \
471 F(NewRestParameter, 1, 1) \ 473 F(NewRestParameter, 1, 1) \
472 F(NewSloppyArguments, 3, 1) \ 474 F(NewSloppyArguments, 3, 1) \
473 F(NewClosure, 1, 1) \ 475 F(NewClosure, 1, 1) \
474 F(NewClosure_Tenured, 1, 1) \ 476 F(NewClosure_Tenured, 1, 1) \
475 F(NewScriptContext, 2, 1) \ 477 F(NewScriptContext, 2, 1) \
476 F(NewFunctionContext, 1, 1) \ 478 F(NewFunctionContext, 1, 1) \
477 F(PushWithContext, 2, 1) \ 479 F(PushWithContext, 2, 1) \
480 F(PushModuleContext, 3, 1) \
478 F(PushCatchContext, 3, 1) \ 481 F(PushCatchContext, 3, 1) \
479 F(PushBlockContext, 2, 1) \ 482 F(PushBlockContext, 2, 1) \
480 F(DeleteLookupSlot, 1, 1) \ 483 F(DeleteLookupSlot, 1, 1) \
481 F(LoadLookupSlot, 1, 1) \ 484 F(LoadLookupSlot, 1, 1) \
482 F(LoadLookupSlotInsideTypeof, 1, 1) \ 485 F(LoadLookupSlotInsideTypeof, 1, 1) \
483 F(StoreLookupSlot_Sloppy, 2, 1) \ 486 F(StoreLookupSlot_Sloppy, 2, 1) \
484 F(StoreLookupSlot_Strict, 2, 1) 487 F(StoreLookupSlot_Strict, 2, 1)
485 488
486 #define FOR_EACH_INTRINSIC_SIMD(F) \ 489 #define FOR_EACH_INTRINSIC_SIMD(F) \
487 F(IsSimdValue, 1, 1) \ 490 F(IsSimdValue, 1, 1) \
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 1141
1139 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1142 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1140 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1143 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1141 STATIC_ASSERT(LANGUAGE_END == 2); 1144 STATIC_ASSERT(LANGUAGE_END == 2);
1142 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1145 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1143 1146
1144 } // namespace internal 1147 } // namespace internal
1145 } // namespace v8 1148 } // namespace v8
1146 1149
1147 #endif // V8_RUNTIME_RUNTIME_H_ 1150 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698