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

Side by Side Diff: test/unittests/compiler/node-test-utils.h

Issue 1419373007: [Interpreter] Adds implementation of bytecode graph builder for LoadICSloppy/Strict (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Modified bytecode-graph-builder-unittest to build bytecode array instead of generating it. Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 5 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
7 7
8 #include "src/compiler/machine-operator.h" 8 #include "src/compiler/machine-operator.h"
9 #include "src/compiler/machine-type.h" 9 #include "src/compiler/machine-type.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher, 341 Matcher<Node*> IsToNumber(const Matcher<Node*>& base_matcher,
342 const Matcher<Node*>& context_matcher, 342 const Matcher<Node*>& context_matcher,
343 const Matcher<Node*>& effect_matcher, 343 const Matcher<Node*>& effect_matcher,
344 const Matcher<Node*>& control_matcher); 344 const Matcher<Node*>& control_matcher);
345 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, 345 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher,
346 const Matcher<Node*>& context_matcher); 346 const Matcher<Node*>& context_matcher);
347 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 347 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
348 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 348 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
349 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 349 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
350 Matcher<Node*> IsLoadFramePointer(); 350 Matcher<Node*> IsLoadFramePointer();
351 Matcher<Node*> IsJSLoadNamed(const Handle<Name> name,
352 const Matcher<Node*>& object_value_matcher,
353 const Matcher<Node*>& feedback_vector_matcher,
354 const Matcher<Node*>& effect_matcher,
355 const Matcher<Node*>& control_matcher);
351 356
352 } // namespace compiler 357 } // namespace compiler
353 } // namespace internal 358 } // namespace internal
354 } // namespace v8 359 } // namespace v8
355 360
356 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 361 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/bytecode-graph-builder-unittest.cc ('k') | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698