| OLD | NEW |
| 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 #include "test/unittests/compiler/interpreter-assembler-unittest.h" | 5 #include "test/unittests/compiler/interpreter-assembler-unittest.h" |
| 6 | 6 |
| 7 #include "src/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/compiler/graph.h" | 8 #include "src/compiler/graph.h" |
| 9 #include "src/compiler/node.h" | 9 #include "src/compiler/node.h" |
| 10 #include "src/interface-descriptors.h" | 10 #include "src/interface-descriptors.h" |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 case interpreter::OperandType::kIdx8: | 344 case interpreter::OperandType::kIdx8: |
| 345 EXPECT_THAT(m.BytecodeOperandIdx(i), m.IsBytecodeOperand(offset)); | 345 EXPECT_THAT(m.BytecodeOperandIdx(i), m.IsBytecodeOperand(offset)); |
| 346 break; | 346 break; |
| 347 case interpreter::OperandType::kImm8: | 347 case interpreter::OperandType::kImm8: |
| 348 EXPECT_THAT(m.BytecodeOperandImm(i), | 348 EXPECT_THAT(m.BytecodeOperandImm(i), |
| 349 m.IsBytecodeOperandSignExtended(offset)); | 349 m.IsBytecodeOperandSignExtended(offset)); |
| 350 break; | 350 break; |
| 351 case interpreter::OperandType::kMaybeReg8: | 351 case interpreter::OperandType::kMaybeReg8: |
| 352 case interpreter::OperandType::kReg8: | 352 case interpreter::OperandType::kReg8: |
| 353 case interpreter::OperandType::kRegPair8: | 353 case interpreter::OperandType::kRegPair8: |
| 354 case interpreter::OperandType::kRegTriple8: |
| 354 EXPECT_THAT(m.BytecodeOperandReg(i), | 355 EXPECT_THAT(m.BytecodeOperandReg(i), |
| 355 m.IsBytecodeOperandSignExtended(offset)); | 356 m.IsBytecodeOperandSignExtended(offset)); |
| 356 break; | 357 break; |
| 357 case interpreter::OperandType::kCount16: | 358 case interpreter::OperandType::kCount16: |
| 358 EXPECT_THAT(m.BytecodeOperandCount(i), | 359 EXPECT_THAT(m.BytecodeOperandCount(i), |
| 359 m.IsBytecodeOperandShort(offset)); | 360 m.IsBytecodeOperandShort(offset)); |
| 360 break; | 361 break; |
| 361 case interpreter::OperandType::kIdx16: | 362 case interpreter::OperandType::kIdx16: |
| 362 EXPECT_THAT(m.BytecodeOperandIdx(i), | 363 EXPECT_THAT(m.BytecodeOperandIdx(i), |
| 363 m.IsBytecodeOperandShort(offset)); | 364 m.IsBytecodeOperandShort(offset)); |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 feedback_vector, | 679 feedback_vector, |
| 679 m.IsLoad(MachineType::AnyTagged(), load_shared_function_info_matcher, | 680 m.IsLoad(MachineType::AnyTagged(), load_shared_function_info_matcher, |
| 680 IsIntPtrConstant(SharedFunctionInfo::kFeedbackVectorOffset - | 681 IsIntPtrConstant(SharedFunctionInfo::kFeedbackVectorOffset - |
| 681 kHeapObjectTag))); | 682 kHeapObjectTag))); |
| 682 } | 683 } |
| 683 } | 684 } |
| 684 | 685 |
| 685 } // namespace compiler | 686 } // namespace compiler |
| 686 } // namespace internal | 687 } // namespace internal |
| 687 } // namespace v8 | 688 } // namespace v8 |
| OLD | NEW |