diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-19 21:36:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-19 21:36:26 +0000 |
commit | dffa7328356257772dc7c00fe73aeb315229b373 (patch) | |
tree | b56b22f6c7e733e05e3f634ca63f18e10bc1b304 /libgo/runtime/go-caller.c | |
parent | 0c92e4881a61a2483c2878f9953ff92188e9661e (diff) | |
download | gcc-dffa7328356257772dc7c00fe73aeb315229b373.zip gcc-dffa7328356257772dc7c00fe73aeb315229b373.tar.gz gcc-dffa7328356257772dc7c00fe73aeb315229b373.tar.bz2 |
reflect, runtime: Use libffi closures to implement reflect.MakeFunc.
Keep using the existing 386 and amd64 code on those archs,
since it is more efficient.
From-SVN: r212853
Diffstat (limited to 'libgo/runtime/go-caller.c')
-rw-r--r-- | libgo/runtime/go-caller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-caller.c b/libgo/runtime/go-caller.c index e97b850..a5c687d 100644 --- a/libgo/runtime/go-caller.c +++ b/libgo/runtime/go-caller.c @@ -177,7 +177,7 @@ Caller (int skip) int32 n; runtime_memclr (&ret, sizeof ret); - n = runtime_callers (skip + 1, &loc, 1); + n = runtime_callers (skip + 1, &loc, 1, false); if (n < 1) return ret; ret.pc = loc.pc; |