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

Side by Side Diff: test/cctest/test-simd.cc

Issue 2304553002: Include only stuff you need, part 6: Fix cctest.h. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « test/cctest/test-sampler-api.cc ('k') | test/cctest/test-symbols.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/factory.h"
8 #include "src/isolate.h"
7 #include "src/objects.h" 9 #include "src/objects.h"
10 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
11 // (disallowed) include: src/factory.h -> src/objects-inl.h
12 #include "src/objects-inl.h"
8 #include "src/ostreams.h" 13 #include "src/ostreams.h"
14 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
15 // (disallowed) include: src/type-feedback-vector.h ->
16 // src/type-feedback-vector-inl.h
17 #include "src/type-feedback-vector-inl.h"
9 #include "test/cctest/cctest.h" 18 #include "test/cctest/cctest.h"
10 19
11 using namespace v8::internal; 20 using namespace v8::internal;
12 21
13 #define FLOAT_TEST(type, lane_count) \ 22 #define FLOAT_TEST(type, lane_count) \
14 { \ 23 { \
15 float nan = std::numeric_limits<float>::quiet_NaN(); \ 24 float nan = std::numeric_limits<float>::quiet_NaN(); \
16 float lanes[lane_count] = {0}; \ 25 float lanes[lane_count] = {0}; \
17 Handle<type> a = factory->New##type(lanes); \ 26 Handle<type> a = factory->New##type(lanes); \
18 Handle<type> b = factory->New##type(lanes); \ 27 Handle<type> b = factory->New##type(lanes); \
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 INT_TEST(Int32x4, 4, int32_t) 120 INT_TEST(Int32x4, 4, int32_t)
112 INT_TEST(Uint32x4, 4, uint32_t) 121 INT_TEST(Uint32x4, 4, uint32_t)
113 BOOL_TEST(Bool32x4, 4) 122 BOOL_TEST(Bool32x4, 4)
114 INT_TEST(Int16x8, 8, int16_t) 123 INT_TEST(Int16x8, 8, int16_t)
115 INT_TEST(Uint16x8, 8, uint16_t) 124 INT_TEST(Uint16x8, 8, uint16_t)
116 BOOL_TEST(Bool16x8, 8) 125 BOOL_TEST(Bool16x8, 8)
117 INT_TEST(Int8x16, 16, int8_t) 126 INT_TEST(Int8x16, 16, int8_t)
118 INT_TEST(Uint8x16, 16, uint8_t) 127 INT_TEST(Uint8x16, 16, uint8_t)
119 BOOL_TEST(Bool8x16, 16) 128 BOOL_TEST(Bool8x16, 16)
120 } 129 }
OLDNEW
« no previous file with comments | « test/cctest/test-sampler-api.cc ('k') | test/cctest/test-symbols.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698