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

Side by Side Diff: test/cctest/test-field-type-tracking.cc

Issue 1696333002: Don't include field-type.h into objects-inl.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/heap/test-heap.cc ('k') | test/cctest/test-transitions.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 <stdlib.h> 5 #include <stdlib.h>
6 #include <utility> 6 #include <utility>
7 7
8 #include "test/cctest/test-api.h" 8 #include "test/cctest/test-api.h"
9 9
10 #include "src/v8.h" 10 #include "src/v8.h"
11 11
12 #include "src/compilation-cache.h" 12 #include "src/compilation-cache.h"
13 #include "src/execution.h" 13 #include "src/execution.h"
14 #include "src/factory.h" 14 #include "src/factory.h"
15 #include "src/field-type.h"
15 #include "src/global-handles.h" 16 #include "src/global-handles.h"
16 #include "src/ic/stub-cache.h" 17 #include "src/ic/stub-cache.h"
17 #include "src/macro-assembler.h" 18 #include "src/macro-assembler.h"
18 19
19 using namespace v8::internal; 20 using namespace v8::internal;
20 21
21 22
22 // TODO(ishell): fix this once TransitionToPrototype stops generalizing 23 // TODO(ishell): fix this once TransitionToPrototype stops generalizing
23 // all field representations (similar to crbug/448711 where elements kind 24 // all field representations (similar to crbug/448711 where elements kind
24 // and observed transitions caused generalization of all field representations). 25 // and observed transitions caused generalization of all field representations).
(...skipping 2149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2174 Handle<AccessorPair> pair = CreateAccessorPair(true, true); 2175 Handle<AccessorPair> pair = CreateAccessorPair(true, true);
2175 TransitionToAccessorConstantOperator transition_op(pair); 2176 TransitionToAccessorConstantOperator transition_op(pair);
2176 2177
2177 SameMapChecker checker; 2178 SameMapChecker checker;
2178 TestTransitionTo(transition_op, transition_op, checker); 2179 TestTransitionTo(transition_op, transition_op, checker);
2179 } 2180 }
2180 2181
2181 2182
2182 // TODO(ishell): add this test once IS_ACCESSOR_FIELD_SUPPORTED is supported. 2183 // TODO(ishell): add this test once IS_ACCESSOR_FIELD_SUPPORTED is supported.
2183 // TEST(TransitionAccessorConstantToAnotherAccessorConstant) 2184 // TEST(TransitionAccessorConstantToAnotherAccessorConstant)
OLDNEW
« no previous file with comments | « test/cctest/heap/test-heap.cc ('k') | test/cctest/test-transitions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698