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

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

Issue 2085823003: Revert of [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: 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;
435 case interpreter::OperandType::kNone: 431 case interpreter::OperandType::kNone:
436 UNREACHABLE(); 432 UNREACHABLE();
437 break; 433 break;
438 } 434 }
439 } 435 }
440 } 436 }
441 } 437 }
442 } 438 }
443 439
444 TARGET_TEST_F(InterpreterAssemblerTest, GetSetAccumulator) { 440 TARGET_TEST_F(InterpreterAssemblerTest, GetSetAccumulator) {
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 EXPECT_THAT(feedback_vector, 699 EXPECT_THAT(feedback_vector,
704 m.IsLoad(MachineType::AnyTagged(), load_literals_matcher, 700 m.IsLoad(MachineType::AnyTagged(), load_literals_matcher,
705 IsIntPtrConstant(LiteralsArray::kFeedbackVectorOffset - 701 IsIntPtrConstant(LiteralsArray::kFeedbackVectorOffset -
706 kHeapObjectTag))); 702 kHeapObjectTag)));
707 } 703 }
708 } 704 }
709 705
710 } // namespace interpreter 706 } // namespace interpreter
711 } // namespace internal 707 } // namespace internal
712 } // namespace v8 708 } // 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