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

Side by Side Diff: test/compiler-unittests/arm/instruction-selector-arm-unittest.cc

Issue 505133002: Unit test of instruction selection for calls with deoptimization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments. Created 6 years, 3 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 | Annotate | Revision Log
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/compiler-unittests/instruction-selector-unittest.h" 5 #include "test/compiler-unittests/instruction-selector-unittest.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 namespace compiler { 9 namespace compiler {
10 10
(...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1888 m.Word32Shr(m.Parameter(0), m.Int32Constant(lsb)))); 1888 m.Word32Shr(m.Parameter(0), m.Int32Constant(lsb))));
1889 Stream s = m.Build(ARMv7); 1889 Stream s = m.Build(ARMv7);
1890 ASSERT_EQ(1U, s.size()); 1890 ASSERT_EQ(1U, s.size());
1891 EXPECT_EQ(kArmUbfx, s[0]->arch_opcode()); 1891 EXPECT_EQ(kArmUbfx, s[0]->arch_opcode());
1892 ASSERT_EQ(3U, s[0]->InputCount()); 1892 ASSERT_EQ(3U, s[0]->InputCount());
1893 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1))); 1893 EXPECT_EQ(lsb, s.ToInt32(s[0]->InputAt(1)));
1894 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2))); 1894 EXPECT_EQ(width, s.ToInt32(s[0]->InputAt(2)));
1895 } 1895 }
1896 } 1896 }
1897 } 1897 }
1898
1899 } // namespace compiler 1898 } // namespace compiler
1900 } // namespace internal 1899 } // namespace internal
1901 } // namespace v8 1900 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-codegen-deopt.cc ('k') | test/compiler-unittests/instruction-selector-unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698