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

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

Issue 1441643002: [Interpreter] Add support for global loads / stores / calls to BytecodeGraphBuilder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_tf_call
Patch Set: 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 const Matcher<Node*>& context_matcher); 355 const Matcher<Node*>& context_matcher);
356 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 356 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
357 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 357 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
358 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 358 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
359 Matcher<Node*> IsLoadFramePointer(); 359 Matcher<Node*> IsLoadFramePointer();
360 Matcher<Node*> IsJSLoadNamed(const Handle<Name> name, 360 Matcher<Node*> IsJSLoadNamed(const Handle<Name> name,
361 const Matcher<Node*>& object_value_matcher, 361 const Matcher<Node*>& object_value_matcher,
362 const Matcher<Node*>& feedback_vector_matcher, 362 const Matcher<Node*>& feedback_vector_matcher,
363 const Matcher<Node*>& effect_matcher, 363 const Matcher<Node*>& effect_matcher,
364 const Matcher<Node*>& control_matcher); 364 const Matcher<Node*>& control_matcher);
365 Matcher<Node*> IsJSLoadGlobal(const Handle<Name> name,
366 const Matcher<Node*>& feedback_vector_matcher,
367 const Matcher<Node*>& effect_matcher,
368 const Matcher<Node*>& control_matcher);
369 Matcher<Node*> IsJSStoreGlobal(const Handle<Name> name,
370 const Matcher<Node*>& value,
371 const Matcher<Node*>& feedback_vector_matcher,
372 const Matcher<Node*>& effect_matcher,
373 const Matcher<Node*>& control_matcher);
365 Matcher<Node*> IsJSCallFunction(std::vector<Matcher<Node*>> value_matchers, 374 Matcher<Node*> IsJSCallFunction(std::vector<Matcher<Node*>> value_matchers,
366 const Matcher<Node*>& effect_matcher, 375 const Matcher<Node*>& effect_matcher,
367 const Matcher<Node*>& control_matcher); 376 const Matcher<Node*>& control_matcher);
368 377
369 } // namespace compiler 378 } // namespace compiler
370 } // namespace internal 379 } // namespace internal
371 } // namespace v8 380 } // namespace v8
372 381
373 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 382 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698