OLD | NEW |
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 // TODO(jochen): Remove this after the setting is turned on globally. |
| 6 #define V8_IMMINENT_DEPRECATION_WARNINGS |
| 7 |
5 #include <limits> | 8 #include <limits> |
6 | 9 |
7 #include "src/compiler/access-builder.h" | 10 #include "src/compiler/access-builder.h" |
8 #include "src/compiler/change-lowering.h" | 11 #include "src/compiler/change-lowering.h" |
9 #include "src/compiler/control-builders.h" | 12 #include "src/compiler/control-builders.h" |
10 #include "src/compiler/graph-reducer.h" | 13 #include "src/compiler/graph-reducer.h" |
11 #include "src/compiler/graph-visualizer.h" | 14 #include "src/compiler/graph-visualizer.h" |
12 #include "src/compiler/node-properties.h" | 15 #include "src/compiler/node-properties.h" |
13 #include "src/compiler/pipeline.h" | 16 #include "src/compiler/pipeline.h" |
14 #include "src/compiler/representation-change.h" | 17 #include "src/compiler/representation-change.h" |
(...skipping 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1996 Type* phi_type = Type::Union(d.arg1, d.arg2, z); | 1999 Type* phi_type = Type::Union(d.arg1, d.arg2, z); |
1997 NodeProperties::SetType(phi, phi_type); | 2000 NodeProperties::SetType(phi, phi_type); |
1998 | 2001 |
1999 Node* use = t.Use(phi, d.use); | 2002 Node* use = t.Use(phi, d.use); |
2000 t.Return(use); | 2003 t.Return(use); |
2001 t.Lower(); | 2004 t.Lower(); |
2002 | 2005 |
2003 CHECK_EQ(d.expected, OpParameter<MachineType>(phi)); | 2006 CHECK_EQ(d.expected, OpParameter<MachineType>(phi)); |
2004 } | 2007 } |
2005 } | 2008 } |
OLD | NEW |