Chromium Code Reviews| Index: src/interpreter/bytecodes.h |
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
| index b4c0d9c4446b7eda2ac1a99a683d29e018c519b2..cbf8a7a90764032da6ec767faf59484529d9351b 100644 |
| --- a/src/interpreter/bytecodes.h |
| +++ b/src/interpreter/bytecodes.h |
| @@ -22,9 +22,32 @@ namespace interpreter { |
| V(Reg) |
| // The list of bytecodes which are interpreted by the interpreter. |
| -#define BYTECODE_LIST(V) \ |
| - V(LoadLiteral0, OperandType::kReg) \ |
| - V(LoadSmi8, OperandType::kReg, OperandType::kImm8) \ |
| +#define BYTECODE_LIST(V) \ |
| + \ |
| + /* Constants load to accumulator */ \ |
| + \ |
|
rmcilroy
2015/07/31 09:56:19
super nit - remove newline below comment.
oth
2015/07/31 11:20:59
Done.
|
| + V(LdaZero, OperandType::kNone) \ |
| + V(LdaSmi8, OperandType::kImm8) \ |
| + V(LdaUndefined, OperandType::kNone) \ |
| + V(LdaNull, OperandType::kNone) \ |
| + V(LdaTheHole, OperandType::kNone) \ |
| + V(LdaTrue, OperandType::kNone) \ |
| + V(LdaFalse, OperandType::kNone) \ |
| + \ |
| + /* Register-accumulator transfers */ \ |
| + \ |
| + V(Ldar, OperandType::kReg) \ |
| + V(Star, OperandType::kReg) \ |
| + \ |
| + /* Binary Operators */ \ |
| + \ |
| + V(Add, OperandType::kReg) \ |
| + V(Sub, OperandType::kReg) \ |
| + V(Mul, OperandType::kReg) \ |
| + V(Div, OperandType::kReg) \ |
| + \ |
| + /* Control Flow */ \ |
| + \ |
| V(Return, OperandType::kNone) |