OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. Use of this | 1 // Copyright 2014 the V8 project authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 // TODO(jochen): Remove this after the setting is turned on globally. | |
6 #define V8_IMMINENT_DEPRECATION_WARNINGS | |
7 | |
8 #include <cmath> | 5 #include <cmath> |
9 #include <functional> | 6 #include <functional> |
10 #include <limits> | 7 #include <limits> |
11 | 8 |
12 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
13 #include "src/base/utils/random-number-generator.h" | 10 #include "src/base/utils/random-number-generator.h" |
14 #include "src/codegen.h" | 11 #include "src/codegen.h" |
15 #include "test/cctest/cctest.h" | 12 #include "test/cctest/cctest.h" |
16 #include "test/cctest/compiler/codegen-tester.h" | 13 #include "test/cctest/compiler/codegen-tester.h" |
17 #include "test/cctest/compiler/graph-builder-tester.h" | 14 #include "test/cctest/compiler/graph-builder-tester.h" |
(...skipping 5732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5750 Node* call = r.AddNode(r.common()->Call(desc), phi); | 5747 Node* call = r.AddNode(r.common()->Call(desc), phi); |
5751 r.Return(call); | 5748 r.Return(call); |
5752 | 5749 |
5753 CHECK_EQ(33, r.Call(1)); | 5750 CHECK_EQ(33, r.Call(1)); |
5754 CHECK_EQ(44, r.Call(0)); | 5751 CHECK_EQ(44, r.Call(0)); |
5755 } | 5752 } |
5756 | 5753 |
5757 } // namespace compiler | 5754 } // namespace compiler |
5758 } // namespace internal | 5755 } // namespace internal |
5759 } // namespace v8 | 5756 } // namespace v8 |
OLD | NEW |