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

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

Issue 1213803008: [turbofan] Right hand side of shifts needs ToUint32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/compiler/node-test-utils.h ('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 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 #include "test/unittests/compiler/node-test-utils.h" 5 #include "test/unittests/compiler/node-test-utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/compiler/js-operator.h" 10 #include "src/compiler/js-operator.h"
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 #define IS_BINOP_MATCHER(Name) \ 1802 #define IS_BINOP_MATCHER(Name) \
1803 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \ 1803 Matcher<Node*> Is##Name(const Matcher<Node*>& lhs_matcher, \
1804 const Matcher<Node*>& rhs_matcher) { \ 1804 const Matcher<Node*>& rhs_matcher) { \
1805 return MakeMatcher( \ 1805 return MakeMatcher( \
1806 new IsBinopMatcher(IrOpcode::k##Name, lhs_matcher, rhs_matcher)); \ 1806 new IsBinopMatcher(IrOpcode::k##Name, lhs_matcher, rhs_matcher)); \
1807 } 1807 }
1808 IS_BINOP_MATCHER(NumberEqual) 1808 IS_BINOP_MATCHER(NumberEqual)
1809 IS_BINOP_MATCHER(NumberLessThan) 1809 IS_BINOP_MATCHER(NumberLessThan)
1810 IS_BINOP_MATCHER(NumberSubtract) 1810 IS_BINOP_MATCHER(NumberSubtract)
1811 IS_BINOP_MATCHER(NumberMultiply) 1811 IS_BINOP_MATCHER(NumberMultiply)
1812 IS_BINOP_MATCHER(NumberShiftLeft)
1813 IS_BINOP_MATCHER(NumberShiftRight)
1814 IS_BINOP_MATCHER(NumberShiftRightLogical)
1812 IS_BINOP_MATCHER(Word32And) 1815 IS_BINOP_MATCHER(Word32And)
1813 IS_BINOP_MATCHER(Word32Sar) 1816 IS_BINOP_MATCHER(Word32Sar)
1814 IS_BINOP_MATCHER(Word32Shl) 1817 IS_BINOP_MATCHER(Word32Shl)
1815 IS_BINOP_MATCHER(Word32Shr) 1818 IS_BINOP_MATCHER(Word32Shr)
1816 IS_BINOP_MATCHER(Word32Ror) 1819 IS_BINOP_MATCHER(Word32Ror)
1817 IS_BINOP_MATCHER(Word32Equal) 1820 IS_BINOP_MATCHER(Word32Equal)
1818 IS_BINOP_MATCHER(Word64And) 1821 IS_BINOP_MATCHER(Word64And)
1819 IS_BINOP_MATCHER(Word64Sar) 1822 IS_BINOP_MATCHER(Word64Sar)
1820 IS_BINOP_MATCHER(Word64Shl) 1823 IS_BINOP_MATCHER(Word64Shl)
1821 IS_BINOP_MATCHER(Word64Equal) 1824 IS_BINOP_MATCHER(Word64Equal)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1862 IS_UNOP_MATCHER(NumberToInt32) 1865 IS_UNOP_MATCHER(NumberToInt32)
1863 IS_UNOP_MATCHER(NumberToUint32) 1866 IS_UNOP_MATCHER(NumberToUint32)
1864 IS_UNOP_MATCHER(ObjectIsSmi) 1867 IS_UNOP_MATCHER(ObjectIsSmi)
1865 IS_UNOP_MATCHER(ObjectIsNonNegativeSmi) 1868 IS_UNOP_MATCHER(ObjectIsNonNegativeSmi)
1866 IS_UNOP_MATCHER(Word32Clz) 1869 IS_UNOP_MATCHER(Word32Clz)
1867 #undef IS_UNOP_MATCHER 1870 #undef IS_UNOP_MATCHER
1868 1871
1869 } // namespace compiler 1872 } // namespace compiler
1870 } // namespace internal 1873 } // namespace internal
1871 } // namespace v8 1874 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/node-test-utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698