OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 "src/runtime/runtime.h" | 5 #include "src/runtime/runtime.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/base/hashmap.h" | 8 #include "src/base/hashmap.h" |
9 #include "src/contexts.h" | 9 #include "src/contexts.h" |
10 #include "src/handles-inl.h" | 10 #include "src/handles-inl.h" |
11 #include "src/heap/heap.h" | 11 #include "src/heap/heap.h" |
12 #include "src/isolate.h" | 12 #include "src/isolate.h" |
| 13 #include "src/objects-inl.h" |
13 #include "src/runtime/runtime-utils.h" | 14 #include "src/runtime/runtime-utils.h" |
14 | 15 |
15 namespace v8 { | 16 namespace v8 { |
16 namespace internal { | 17 namespace internal { |
17 | 18 |
18 // Header of runtime functions. | 19 // Header of runtime functions. |
19 #define F(name, number_of_args, result_size) \ | 20 #define F(name, number_of_args, result_size) \ |
20 Object* Runtime_##name(int args_length, Object** args_object, \ | 21 Object* Runtime_##name(int args_length, Object** args_object, \ |
21 Isolate* isolate); | 22 Isolate* isolate); |
22 FOR_EACH_INTRINSIC_RETURN_OBJECT(F) | 23 FOR_EACH_INTRINSIC_RETURN_OBJECT(F) |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 } | 159 } |
159 | 160 |
160 | 161 |
161 std::ostream& operator<<(std::ostream& os, Runtime::FunctionId id) { | 162 std::ostream& operator<<(std::ostream& os, Runtime::FunctionId id) { |
162 return os << Runtime::FunctionForId(id)->name; | 163 return os << Runtime::FunctionForId(id)->name; |
163 } | 164 } |
164 | 165 |
165 | 166 |
166 } // namespace internal | 167 } // namespace internal |
167 } // namespace v8 | 168 } // namespace v8 |
OLD | NEW |