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

Side by Side Diff: test/unittests/interpreter/interpreter-assembler-unittest.cc

Issue 2084623002: Reland: [Interpreter] Map runtime id's to intrinsic id's in InvokeIntrinsic bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reland Created 4 years, 6 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 | « test/unittests/interpreter/bytecode-array-iterator-unittest.cc ('k') | no next file » | 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 #include "test/unittests/interpreter/interpreter-assembler-unittest.h" 5 #include "test/unittests/interpreter/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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 case interpreter::OperandType::kRegOutPair: 421 case interpreter::OperandType::kRegOutPair:
422 case interpreter::OperandType::kRegOutTriple: 422 case interpreter::OperandType::kRegOutTriple:
423 case interpreter::OperandType::kRegPair: 423 case interpreter::OperandType::kRegPair:
424 EXPECT_THAT(m.BytecodeOperandReg(i), 424 EXPECT_THAT(m.BytecodeOperandReg(i),
425 m.IsSignedOperand(offset, operand_size)); 425 m.IsSignedOperand(offset, operand_size));
426 break; 426 break;
427 case interpreter::OperandType::kRuntimeId: 427 case interpreter::OperandType::kRuntimeId:
428 EXPECT_THAT(m.BytecodeOperandRuntimeId(i), 428 EXPECT_THAT(m.BytecodeOperandRuntimeId(i),
429 m.IsUnsignedOperand(offset, operand_size)); 429 m.IsUnsignedOperand(offset, operand_size));
430 break; 430 break;
431 case interpreter::OperandType::kIntrinsicId:
432 EXPECT_THAT(m.BytecodeOperandIntrinsicId(i),
433 m.IsUnsignedOperand(offset, operand_size));
434 break;
431 case interpreter::OperandType::kNone: 435 case interpreter::OperandType::kNone:
432 UNREACHABLE(); 436 UNREACHABLE();
433 break; 437 break;
434 } 438 }
435 } 439 }
436 } 440 }
437 } 441 }
438 } 442 }
439 443
440 TARGET_TEST_F(InterpreterAssemblerTest, GetSetAccumulator) { 444 TARGET_TEST_F(InterpreterAssemblerTest, GetSetAccumulator) {
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 EXPECT_THAT(feedback_vector, 703 EXPECT_THAT(feedback_vector,
700 m.IsLoad(MachineType::AnyTagged(), load_literals_matcher, 704 m.IsLoad(MachineType::AnyTagged(), load_literals_matcher,
701 IsIntPtrConstant(LiteralsArray::kFeedbackVectorOffset - 705 IsIntPtrConstant(LiteralsArray::kFeedbackVectorOffset -
702 kHeapObjectTag))); 706 kHeapObjectTag)));
703 } 707 }
704 } 708 }
705 709
706 } // namespace interpreter 710 } // namespace interpreter
707 } // namespace internal 711 } // namespace internal
708 } // namespace v8 712 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/interpreter/bytecode-array-iterator-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698