mirror of git://gcc.gnu.org/git/gcc.git
runtime: remove unused variable
This variable is unused apparently as a result of local changes. gccgo accepts this variable declaration, but other frontends may not. From-SVN: r212873
This commit is contained in:
parent
9b0834f683
commit
d5d0580e64
|
|
@ -434,13 +434,12 @@ func (v Value) call(op string, in []Value) []Value {
|
||||||
// Get function pointer, type.
|
// Get function pointer, type.
|
||||||
t := v.typ
|
t := v.typ
|
||||||
var (
|
var (
|
||||||
fn unsafe.Pointer
|
fn unsafe.Pointer
|
||||||
rcvr Value
|
rcvr Value
|
||||||
rcvrtype *rtype
|
|
||||||
)
|
)
|
||||||
if v.flag&flagMethod != 0 {
|
if v.flag&flagMethod != 0 {
|
||||||
rcvr = v
|
rcvr = v
|
||||||
rcvrtype, t, fn = methodReceiver(op, v, int(v.flag)>>flagMethodShift)
|
_, t, fn = methodReceiver(op, v, int(v.flag)>>flagMethodShift)
|
||||||
} else if v.flag&flagIndir != 0 {
|
} else if v.flag&flagIndir != 0 {
|
||||||
fn = *(*unsafe.Pointer)(v.ptr)
|
fn = *(*unsafe.Pointer)(v.ptr)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue