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 #ifndef V8_ARGUMENTS_H_ | 5 #ifndef V8_ARGUMENTS_H_ |
6 #define V8_ARGUMENTS_H_ | 6 #define V8_ARGUMENTS_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/isolate.h" | 9 #include "src/isolate.h" |
10 | 10 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 CLOBBER_DOUBLE_REGISTERS(); \ | 278 CLOBBER_DOUBLE_REGISTERS(); \ |
279 Arguments args(args_length, args_object); \ | 279 Arguments args(args_length, args_object); \ |
280 return __RT_impl_##Name(args, isolate); \ | 280 return __RT_impl_##Name(args, isolate); \ |
281 } \ | 281 } \ |
282 static Type __RT_impl_##Name(Arguments args, Isolate* isolate) | 282 static Type __RT_impl_##Name(Arguments args, Isolate* isolate) |
283 | 283 |
284 | 284 |
285 #define RUNTIME_FUNCTION(Name) RUNTIME_FUNCTION_RETURNS_TYPE(Object*, Name) | 285 #define RUNTIME_FUNCTION(Name) RUNTIME_FUNCTION_RETURNS_TYPE(Object*, Name) |
286 #define RUNTIME_FUNCTION_RETURN_PAIR(Name) \ | 286 #define RUNTIME_FUNCTION_RETURN_PAIR(Name) \ |
287 RUNTIME_FUNCTION_RETURNS_TYPE(ObjectPair, Name) | 287 RUNTIME_FUNCTION_RETURNS_TYPE(ObjectPair, Name) |
| 288 #define RUNTIME_FUNCTION_RETURN_TRIPLE(Name) \ |
| 289 RUNTIME_FUNCTION_RETURNS_TYPE(ObjectTriple, Name) |
288 | 290 |
289 } // namespace internal | 291 } // namespace internal |
290 } // namespace v8 | 292 } // namespace v8 |
291 | 293 |
292 #endif // V8_ARGUMENTS_H_ | 294 #endif // V8_ARGUMENTS_H_ |
OLD | NEW |