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

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

Issue 2413653006: [turbofan] Modifies the --turbo-verify-machine-graph flag to act as a filter. (Closed)
Patch Set: Fixes interpreter unit test. Created 4 years, 2 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 | « src/interpreter/interpreter-assembler.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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 next_bytecode_offset_matcher, after_lookahead_offset, _); 328 next_bytecode_offset_matcher, after_lookahead_offset, _);
329 Matcher<Node*> after_lookahead_bytecode = 329 Matcher<Node*> after_lookahead_bytecode =
330 m.IsLoad(MachineType::Uint8(), 330 m.IsLoad(MachineType::Uint8(),
331 IsParameter(InterpreterDispatchDescriptor::kBytecodeArray), 331 IsParameter(InterpreterDispatchDescriptor::kBytecodeArray),
332 after_lookahead_offset); 332 after_lookahead_offset);
333 if (kPointerSize == 8) { 333 if (kPointerSize == 8) {
334 after_lookahead_bytecode = 334 after_lookahead_bytecode =
335 IsChangeUint32ToUint64(after_lookahead_bytecode); 335 IsChangeUint32ToUint64(after_lookahead_bytecode);
336 } 336 }
337 target_bytecode_matcher = 337 target_bytecode_matcher =
338 IsPhi(MachineRepresentation::kWord8, target_bytecode_matcher, 338 IsPhi(MachineType::PointerRepresentation(), target_bytecode_matcher,
339 after_lookahead_bytecode, _); 339 after_lookahead_bytecode, _);
340 code_target_matcher = 340 code_target_matcher =
341 m.IsLoad(MachineType::Pointer(), 341 m.IsLoad(MachineType::Pointer(),
342 IsParameter(InterpreterDispatchDescriptor::kDispatchTable), 342 IsParameter(InterpreterDispatchDescriptor::kDispatchTable),
343 IsWordShl(target_bytecode_matcher, 343 IsWordShl(target_bytecode_matcher,
344 IsIntPtrConstant(kPointerSizeLog2))); 344 IsIntPtrConstant(kPointerSizeLog2)));
345 } 345 }
346 346
347 EXPECT_THAT( 347 EXPECT_THAT(
348 tail_call_node, 348 tail_call_node,
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 EXPECT_THAT(feedback_vector, 717 EXPECT_THAT(feedback_vector,
718 m.IsLoad(MachineType::AnyTagged(), load_literals_matcher, 718 m.IsLoad(MachineType::AnyTagged(), load_literals_matcher,
719 IsIntPtrConstant(LiteralsArray::kFeedbackVectorOffset - 719 IsIntPtrConstant(LiteralsArray::kFeedbackVectorOffset -
720 kHeapObjectTag))); 720 kHeapObjectTag)));
721 } 721 }
722 } 722 }
723 723
724 } // namespace interpreter 724 } // namespace interpreter
725 } // namespace internal 725 } // namespace internal
726 } // namespace v8 726 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-assembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698