disable ArrayAlloca
This commit is contained in:
@@ -432,6 +432,7 @@ func (b Builder) Alloca(n Expr) (ret Expr) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
// ArrayAlloca reserves space for an array of n elements of type telem.
|
// ArrayAlloca reserves space for an array of n elements of type telem.
|
||||||
func (b Builder) ArrayAlloca(telem Type, n Expr) (ret Expr) {
|
func (b Builder) ArrayAlloca(telem Type, n Expr) (ret Expr) {
|
||||||
if debugInstr {
|
if debugInstr {
|
||||||
@@ -441,6 +442,7 @@ func (b Builder) ArrayAlloca(telem Type, n Expr) (ret Expr) {
|
|||||||
ret.Type = b.Prog.Pointer(telem)
|
ret.Type = b.Prog.Pointer(telem)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// The ChangeType instruction applies to X a value-preserving type
|
// The ChangeType instruction applies to X a value-preserving type
|
||||||
// change to Type().
|
// change to Type().
|
||||||
|
|||||||
Reference in New Issue
Block a user