summaryrefslogtreecommitdiff
path: root/gcc/python/py-runtime.def
diff options
context:
space:
mode:
authorredbrain <redbrain@gcc.gnu.org>2012-04-21 19:12:19 +0100
committerredbrain <redbrain@gcc.gnu.org>2012-04-21 19:12:19 +0100
commit6bb2994a691ee688ac538c2ac9d382804aad5abe (patch)
tree9bf8e9a3e0886c75383b07c144be6a157b285c11 /gcc/python/py-runtime.def
parent30903ba9eb9e6b3f3d926041cfc438c71377d6f6 (diff)
downloadgcc-alpha-v0.1.tar.gz
lots of argument passing work finished and we can compile python nowalpha-v0.1
Diffstat (limited to 'gcc/python/py-runtime.def')
-rw-r--r--gcc/python/py-runtime.def12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/python/py-runtime.def b/gcc/python/py-runtime.def
index 81484017119..696ba90a901 100644
--- a/gcc/python/py-runtime.def
+++ b/gcc/python/py-runtime.def
@@ -172,3 +172,15 @@ py-runtime = { code = GPY_RR_fold_call;
build_call = build_call_expr_loc_vec;
build_call_args = "BUILTINS_LOCATION, fndecl, arguments";
};
+py-runtime = { code = GPY_RR_fold_argument;
+ arguments = "tree args, tree offset";
+ proto = "tree, tree";
+ comment = "/* Eval arg */";
+ function_identifier = "gpy_rr_fold_argument";
+ fntype = "gpy_object_type_ptr,
+ gpy_object_type_ptr_ptr,
+ integer_type_node,
+ NULL_TREE";
+ build_call = build_call_expr;
+ build_call_args = "fndecl, 2, args, offset";
+ }; \ No newline at end of file