 Chromium Code Reviews
 Chromium Code Reviews Issue 1343363002:
  [Interpreter] Basic flow control.  (Closed) 
  Base URL: https://chromium.googlesource.com/v8/v8.git@master
    
  
    Issue 1343363002:
  [Interpreter] Basic flow control.  (Closed) 
  Base URL: https://chromium.googlesource.com/v8/v8.git@master| Index: src/interpreter/bytecodes.h | 
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h | 
| index f4756516f16f874c248f266af95e32582fd2d829..46eb3460a5e3b5c89367007148b9a7264a6962a5 100644 | 
| --- a/src/interpreter/bytecodes.h | 
| +++ b/src/interpreter/bytecodes.h | 
| @@ -58,7 +58,28 @@ namespace interpreter { | 
| /* Call operations. */ \ | 
| V(Call, OperandType::kReg, OperandType::kReg, OperandType::kCount) \ | 
| \ | 
| + /* Test Operators */ \ | 
| + V(TestEqual, OperandType::kReg) \ | 
| + V(TestNotEqual, OperandType::kReg) \ | 
| + V(TestEqualStrict, OperandType::kReg) \ | 
| + V(TestNotEqualStrict, OperandType::kReg) \ | 
| + V(TestLessThan, OperandType::kReg) \ | 
| + V(TestGreaterThan, OperandType::kReg) \ | 
| + V(TestLessThanEqual, OperandType::kReg) \ | 
| + V(TestGreaterThanEqual, OperandType::kReg) \ | 
| + V(TestInstanceOf, OperandType::kReg) \ | 
| + V(TestIn, OperandType::kReg) \ | 
| + \ | 
| + /* Cast operators */ \ | 
| + V(CastToBoolean, OperandType::kNone) \ | 
| 
rmcilroy
2015/09/23 14:00:29
Drop the "Cast" just ToBoolean (thoughout), since
 
oth
2015/09/24 11:15:27
Done.
 | 
| + \ | 
| /* Control Flow */ \ | 
| + V(Jump, OperandType::kImm8) \ | 
| + V(JumpConstant, OperandType::kIdx) \ | 
| + V(JumpIfTrue, OperandType::kImm8) \ | 
| + V(JumpIfTrueConstant, OperandType::kIdx) \ | 
| + V(JumpIfFalse, OperandType::kImm8) \ | 
| + V(JumpIfFalseConstant, OperandType::kIdx) \ | 
| V(Return, OperandType::kNone) |