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

Side by Side Diff: src/interpreter/bytecodes.h

Issue 1700993002: Remove strong mode support from property loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 4 years, 10 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
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_BYTECODES_H_ 5 #ifndef V8_INTERPRETER_BYTECODES_H_
6 #define V8_INTERPRETER_BYTECODES_H_ 6 #define V8_INTERPRETER_BYTECODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 V(LdaSmi8, OperandType::kImm8) \ 68 V(LdaSmi8, OperandType::kImm8) \
69 V(LdaUndefined, OperandType::kNone) \ 69 V(LdaUndefined, OperandType::kNone) \
70 V(LdaNull, OperandType::kNone) \ 70 V(LdaNull, OperandType::kNone) \
71 V(LdaTheHole, OperandType::kNone) \ 71 V(LdaTheHole, OperandType::kNone) \
72 V(LdaTrue, OperandType::kNone) \ 72 V(LdaTrue, OperandType::kNone) \
73 V(LdaFalse, OperandType::kNone) \ 73 V(LdaFalse, OperandType::kNone) \
74 V(LdaConstant, OperandType::kIdx8) \ 74 V(LdaConstant, OperandType::kIdx8) \
75 V(LdaConstantWide, OperandType::kIdx16) \ 75 V(LdaConstantWide, OperandType::kIdx16) \
76 \ 76 \
77 /* Globals */ \ 77 /* Globals */ \
78 V(LdaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \ 78 V(LdaGlobal, OperandType::kIdx8, OperandType::kIdx8) \
79 V(LdaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \ 79 V(LdaGlobalInsideTypeof, OperandType::kIdx8, OperandType::kIdx8) \
80 V(LdaGlobalInsideTypeofSloppy, OperandType::kIdx8, OperandType::kIdx8) \ 80 V(LdaGlobalWide, OperandType::kIdx16, OperandType::kIdx16) \
81 V(LdaGlobalInsideTypeofStrict, OperandType::kIdx8, OperandType::kIdx8) \ 81 V(LdaGlobalInsideTypeofWide, OperandType::kIdx16, OperandType::kIdx16) \
82 V(LdaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \
83 V(LdaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \
84 V(LdaGlobalInsideTypeofSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \
85 V(LdaGlobalInsideTypeofStrictWide, OperandType::kIdx16, OperandType::kIdx16) \
86 V(StaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \ 82 V(StaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \
87 V(StaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \ 83 V(StaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \
88 V(StaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \ 84 V(StaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \
89 V(StaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \ 85 V(StaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \
90 \ 86 \
91 /* Context operations */ \ 87 /* Context operations */ \
92 V(PushContext, OperandType::kReg8) \ 88 V(PushContext, OperandType::kReg8) \
93 V(PopContext, OperandType::kReg8) \ 89 V(PopContext, OperandType::kReg8) \
94 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 90 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
95 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 91 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
(...skipping 12 matching lines...) Expand all
108 \ 104 \
109 /* Register-accumulator transfers */ \ 105 /* Register-accumulator transfers */ \
110 V(Ldar, OperandType::kReg8) \ 106 V(Ldar, OperandType::kReg8) \
111 V(Star, OperandType::kRegOut8) \ 107 V(Star, OperandType::kRegOut8) \
112 \ 108 \
113 /* Register-register transfers */ \ 109 /* Register-register transfers */ \
114 V(Mov, OperandType::kReg8, OperandType::kRegOut8) \ 110 V(Mov, OperandType::kReg8, OperandType::kRegOut8) \
115 V(MovWide, OperandType::kReg16, OperandType::kRegOut16) \ 111 V(MovWide, OperandType::kReg16, OperandType::kRegOut16) \
116 \ 112 \
117 /* LoadIC operations */ \ 113 /* LoadIC operations */ \
118 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ 114 V(LoadIC, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
119 V(LoadICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ 115 V(KeyedLoadIC, OperandType::kReg8, OperandType::kIdx8) \
120 V(KeyedLoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \ 116 V(LoadICWide, OperandType::kReg8, OperandType::kIdx16, OperandType::kIdx16) \
121 V(KeyedLoadICStrict, OperandType::kReg8, OperandType::kIdx8) \ 117 V(KeyedLoadICWide, OperandType::kReg8, OperandType::kIdx16) \
122 V(LoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \
123 OperandType::kIdx16) \
124 V(LoadICStrictWide, OperandType::kReg8, OperandType::kIdx16, \
125 OperandType::kIdx16) \
126 V(KeyedLoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16) \
127 V(KeyedLoadICStrictWide, OperandType::kReg8, OperandType::kIdx16) \
128 \ 118 \
129 /* StoreIC operations */ \ 119 /* StoreIC operations */ \
130 V(StoreICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ 120 V(StoreICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
131 V(StoreICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ 121 V(StoreICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \
132 V(KeyedStoreICSloppy, OperandType::kReg8, OperandType::kReg8, \ 122 V(KeyedStoreICSloppy, OperandType::kReg8, OperandType::kReg8, \
133 OperandType::kIdx8) \ 123 OperandType::kIdx8) \
134 V(KeyedStoreICStrict, OperandType::kReg8, OperandType::kReg8, \ 124 V(KeyedStoreICStrict, OperandType::kReg8, OperandType::kReg8, \
135 OperandType::kIdx8) \ 125 OperandType::kIdx8) \
136 V(StoreICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \ 126 V(StoreICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \
137 OperandType::kIdx16) \ 127 OperandType::kIdx16) \
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 488
499 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 489 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
500 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 490 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
501 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 491 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
502 492
503 } // namespace interpreter 493 } // namespace interpreter
504 } // namespace internal 494 } // namespace internal
505 } // namespace v8 495 } // namespace v8
506 496
507 #endif // V8_INTERPRETER_BYTECODES_H_ 497 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698