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

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

Issue 1410003003: [Interpreter] Add support for JS runtime calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_api_builtin
Patch Set: Fix unittests Created 5 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
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 V(Dec, OperandType::kNone) \ 112 V(Dec, OperandType::kNone) \
113 V(LogicalNot, OperandType::kNone) \ 113 V(LogicalNot, OperandType::kNone) \
114 V(TypeOf, OperandType::kNone) \ 114 V(TypeOf, OperandType::kNone) \
115 V(DeletePropertyStrict, OperandType::kReg8) \ 115 V(DeletePropertyStrict, OperandType::kReg8) \
116 V(DeletePropertySloppy, OperandType::kReg8) \ 116 V(DeletePropertySloppy, OperandType::kReg8) \
117 \ 117 \
118 /* Call operations */ \ 118 /* Call operations */ \
119 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ 119 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \
120 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \ 120 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \
121 OperandType::kCount8) \ 121 OperandType::kCount8) \
122 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \
123 OperandType::kCount8) \
122 \ 124 \
123 /* New operator */ \ 125 /* New operator */ \
124 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ 126 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \
125 \ 127 \
126 /* Test Operators */ \ 128 /* Test Operators */ \
127 V(TestEqual, OperandType::kReg8) \ 129 V(TestEqual, OperandType::kReg8) \
128 V(TestNotEqual, OperandType::kReg8) \ 130 V(TestNotEqual, OperandType::kReg8) \
129 V(TestEqualStrict, OperandType::kReg8) \ 131 V(TestEqualStrict, OperandType::kReg8) \
130 V(TestNotEqualStrict, OperandType::kReg8) \ 132 V(TestNotEqualStrict, OperandType::kReg8) \
131 V(TestLessThan, OperandType::kReg8) \ 133 V(TestLessThan, OperandType::kReg8) \
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 339
338 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 340 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
339 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 341 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
340 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 342 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
341 343
342 } // namespace interpreter 344 } // namespace interpreter
343 } // namespace internal 345 } // namespace internal
344 } // namespace v8 346 } // namespace v8
345 347
346 #endif // V8_INTERPRETER_BYTECODES_H_ 348 #endif // V8_INTERPRETER_BYTECODES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698