diff options
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/runtime/go-eface-compare.c')
-rw-r--r-- | llgo/third_party/gofrontend/libgo/runtime/go-eface-compare.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llgo/third_party/gofrontend/libgo/runtime/go-eface-compare.c b/llgo/third_party/gofrontend/libgo/runtime/go-eface-compare.c index 3555a65d9cc..40b716eb4af 100644 --- a/llgo/third_party/gofrontend/libgo/runtime/go-eface-compare.c +++ b/llgo/third_party/gofrontend/libgo/runtime/go-eface-compare.c @@ -28,8 +28,8 @@ __go_empty_interface_compare (struct __go_empty_interface left, return 1; if (__go_is_pointer_type (left_descriptor)) return left.__object == right.__object ? 0 : 1; - if (!left_descriptor->__equalfn (left.__object, right.__object, - left_descriptor->__size)) + if (!__go_call_equalfn (left_descriptor->__equalfn, left.__object, + right.__object, left_descriptor->__size)) return 1; return 0; } |