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

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

Issue 1419823003: Remove support for "loads and stores to global vars through property cell shortcuts inst… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@disable-shortcuts
Patch Set: Addressing comments Created 5 years, 2 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 25 matching lines...) Expand all
36 /* Loading the accumulator */ \ 36 /* Loading the accumulator */ \
37 V(LdaZero, OperandType::kNone) \ 37 V(LdaZero, OperandType::kNone) \
38 V(LdaSmi8, OperandType::kImm8) \ 38 V(LdaSmi8, OperandType::kImm8) \
39 V(LdaConstant, OperandType::kIdx8) \ 39 V(LdaConstant, OperandType::kIdx8) \
40 V(LdaUndefined, OperandType::kNone) \ 40 V(LdaUndefined, OperandType::kNone) \
41 V(LdaNull, OperandType::kNone) \ 41 V(LdaNull, OperandType::kNone) \
42 V(LdaTheHole, OperandType::kNone) \ 42 V(LdaTheHole, OperandType::kNone) \
43 V(LdaTrue, OperandType::kNone) \ 43 V(LdaTrue, OperandType::kNone) \
44 V(LdaFalse, OperandType::kNone) \ 44 V(LdaFalse, OperandType::kNone) \
45 \ 45 \
46 /* Globals */ \
47 V(LdaGlobal, OperandType::kIdx8) \
48 V(StaGlobalSloppy, OperandType::kIdx8) \
49 V(StaGlobalStrict, OperandType::kIdx8) \
50 \
51 /* Context operations */ \ 46 /* Context operations */ \
52 V(PushContext, OperandType::kReg8) \ 47 V(PushContext, OperandType::kReg8) \
53 V(PopContext, OperandType::kReg8) \ 48 V(PopContext, OperandType::kReg8) \
54 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 49 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
55 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ 50 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \
56 \ 51 \
57 /* Register-accumulator transfers */ \ 52 /* Register-accumulator transfers */ \
58 V(Ldar, OperandType::kReg8) \ 53 V(Ldar, OperandType::kReg8) \
59 V(Star, OperandType::kReg8) \ 54 V(Star, OperandType::kReg8) \
60 \ 55 \
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 289
295 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 290 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
296 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 291 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
297 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 292 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
298 293
299 } // namespace interpreter 294 } // namespace interpreter
300 } // namespace internal 295 } // namespace internal
301 } // namespace v8 296 } // namespace v8
302 297
303 #endif // V8_INTERPRETER_BYTECODES_H_ 298 #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