Index: test/unittests/compiler/node-test-utils.h |
diff --git a/test/unittests/compiler/node-test-utils.h b/test/unittests/compiler/node-test-utils.h |
index ac24b0698dbe44c334bd03bda447fdcc4a5cc5cc..030801fbbc492b43ce3f9caaba8c840bdabba6d6 100644 |
--- a/test/unittests/compiler/node-test-utils.h |
+++ b/test/unittests/compiler/node-test-utils.h |
@@ -21,6 +21,7 @@ class Unique; |
namespace compiler { |
// Forward declarations. |
+class BufferAccess; |
class CallDescriptor; |
struct ElementAccess; |
struct FieldAccess; |
@@ -87,15 +88,27 @@ Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, |
const Matcher<Node*>& base_matcher, |
const Matcher<Node*>& effect_matcher, |
const Matcher<Node*>& control_matcher); |
+Matcher<Node*> IsLoadBuffer(const Matcher<BufferAccess>& access_matcher, |
+ const Matcher<Node*>& buffer_matcher, |
+ const Matcher<Node*>& offset_matcher, |
+ const Matcher<Node*>& length_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher); |
+Matcher<Node*> IsStoreBuffer(const Matcher<BufferAccess>& access_matcher, |
+ const Matcher<Node*>& buffer_matcher, |
+ const Matcher<Node*>& offset_matcher, |
+ const Matcher<Node*>& length_matcher, |
+ const Matcher<Node*>& value_matcher, |
+ const Matcher<Node*>& effect_matcher, |
+ const Matcher<Node*>& control_matcher); |
Matcher<Node*> IsLoadElement(const Matcher<ElementAccess>& access_matcher, |
const Matcher<Node*>& base_matcher, |
const Matcher<Node*>& index_matcher, |
- const Matcher<Node*>& length_matcher, |
+ const Matcher<Node*>& control_matcher, |
const Matcher<Node*>& effect_matcher); |
Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, |
const Matcher<Node*>& base_matcher, |
const Matcher<Node*>& index_matcher, |
- const Matcher<Node*>& length_matcher, |
const Matcher<Node*>& value_matcher, |
const Matcher<Node*>& effect_matcher, |
const Matcher<Node*>& control_matcher); |