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 | |
8 #include <cmath> | 5 #include <cmath> |
9 #include <functional> | 6 #include <functional> |
10 #include <limits> | 7 #include <limits> |
11 | 8 |
12 #include "src/assembler.h" | 9 #include "src/assembler.h" |
13 #include "src/base/bits.h" | 10 #include "src/base/bits.h" |
14 #include "src/base/utils/random-number-generator.h" | 11 #include "src/base/utils/random-number-generator.h" |
15 #include "src/codegen.h" | 12 #include "src/codegen.h" |
16 #include "src/compiler.h" | 13 #include "src/compiler.h" |
17 #include "src/compiler/linkage.h" | 14 #include "src/compiler/linkage.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 OFStream os(stdout); | 109 OFStream os(stdout); |
113 code2->Disassemble("three_value_call", os); | 110 code2->Disassemble("three_value_call", os); |
114 } | 111 } |
115 #endif | 112 #endif |
116 CHECK_EQ((123 + 456) + (123 - 456) + (123 * 456), mt.Call()); | 113 CHECK_EQ((123 + 456) + (123 - 456) + (123 * 456), mt.Call()); |
117 } | 114 } |
118 | 115 |
119 } // namespace compiler | 116 } // namespace compiler |
120 } // namespace internal | 117 } // namespace internal |
121 } // namespace v8 | 118 } // namespace v8 |
OLD | NEW |