OLD | NEW |
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 "src/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
11 #include "src/compilation-cache.h" | 11 #include "src/compilation-cache.h" |
12 #include "src/execution.h" | 12 #include "src/execution.h" |
13 #include "src/factory.h" | 13 #include "src/factory.h" |
14 #include "src/global-handles.h" | 14 #include "src/global-handles.h" |
15 #include "src/ic/stub-cache.h" | 15 #include "src/ic/stub-cache.h" |
16 #include "src/macro-assembler.h" | 16 #include "src/macro-assembler.h" |
17 #include "src/smart-pointers.h" | |
18 #include "test/cctest/cctest.h" | 17 #include "test/cctest/cctest.h" |
19 | 18 |
20 using namespace v8::internal; | 19 using namespace v8::internal; |
21 | 20 |
22 | 21 |
23 // TODO(ishell): fix this once TransitionToPrototype stops generalizing | 22 // TODO(ishell): fix this once TransitionToPrototype stops generalizing |
24 // all field representations (similar to crbug/448711 where elements kind | 23 // all field representations (similar to crbug/448711 where elements kind |
25 // and observed transitions caused generalization of all field representations). | 24 // and observed transitions caused generalization of all field representations). |
26 const bool IS_PROTO_TRANS_ISSUE_FIXED = false; | 25 const bool IS_PROTO_TRANS_ISSUE_FIXED = false; |
27 | 26 |
(...skipping 2150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2178 Handle<AccessorPair> pair = CreateAccessorPair(true, true); | 2177 Handle<AccessorPair> pair = CreateAccessorPair(true, true); |
2179 TransitionToAccessorConstantOperator transition_op(pair); | 2178 TransitionToAccessorConstantOperator transition_op(pair); |
2180 | 2179 |
2181 SameMapChecker checker; | 2180 SameMapChecker checker; |
2182 TestTransitionTo(transition_op, transition_op, checker); | 2181 TestTransitionTo(transition_op, transition_op, checker); |
2183 } | 2182 } |
2184 | 2183 |
2185 | 2184 |
2186 // TODO(ishell): add this test once IS_ACCESSOR_FIELD_SUPPORTED is supported. | 2185 // TODO(ishell): add this test once IS_ACCESSOR_FIELD_SUPPORTED is supported. |
2187 // TEST(TransitionAccessorConstantToAnotherAccessorConstant) | 2186 // TEST(TransitionAccessorConstantToAnotherAccessorConstant) |
OLD | NEW |