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 // TODO(rmcilroy): Remove this define after this flag is turned on globally | |
6 #define V8_IMMINENT_DEPRECATION_WARNINGS | |
7 | |
8 #include "src/v8.h" | 5 #include "src/v8.h" |
9 | 6 |
10 #include "src/execution.h" | 7 #include "src/execution.h" |
11 #include "src/handles.h" | 8 #include "src/handles.h" |
12 #include "src/interpreter/bytecode-array-builder.h" | 9 #include "src/interpreter/bytecode-array-builder.h" |
13 #include "src/interpreter/interpreter.h" | 10 #include "src/interpreter/interpreter.h" |
14 #include "test/cctest/cctest.h" | 11 #include "test/cctest/cctest.h" |
15 #include "test/cctest/test-feedback-vector.h" | 12 #include "test/cctest/test-feedback-vector.h" |
16 | 13 |
17 namespace v8 { | 14 namespace v8 { |
(...skipping 3069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3087 callable(handle(Smi::FromInt(arg_value), handles.main_isolate())) | 3084 callable(handle(Smi::FromInt(arg_value), handles.main_isolate())) |
3088 .ToHandleChecked(); | 3085 .ToHandleChecked(); |
3089 CHECK_EQ(Handle<Smi>::cast(return_val)->value(), samples[i].second); | 3086 CHECK_EQ(Handle<Smi>::cast(return_val)->value(), samples[i].second); |
3090 } | 3087 } |
3091 } | 3088 } |
3092 | 3089 |
3093 | 3090 |
3094 } // namespace interpreter | 3091 } // namespace interpreter |
3095 } // namespace internal | 3092 } // namespace internal |
3096 } // namespace v8 | 3093 } // namespace v8 |
OLD | NEW |