2013-09-27 19:53:46 +02:00
|
|
|
// Copyright 2013 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2014-07-19 23:36:26 +02:00
|
|
|
#include "runtime.h"
|
2013-09-27 19:53:46 +02:00
|
|
|
|
2014-07-19 23:36:26 +02:00
|
|
|
/* Dummy function for processors that implement MakeFunc using FFI
|
|
|
|
rather than having builtin support. */
|
2013-09-27 19:53:46 +02:00
|
|
|
|
2014-07-19 23:36:26 +02:00
|
|
|
void makeFuncStub (void) __asm__ ("reflect.makeFuncStub");
|
|
|
|
|
|
|
|
void makeFuncStub (void)
|
2013-09-27 19:53:46 +02:00
|
|
|
{
|
2014-07-19 23:36:26 +02:00
|
|
|
runtime_throw ("impossible call to makeFuncStub");
|
2013-09-27 19:53:46 +02:00
|
|
|
}
|