Text file src/runtime/sys_wasm32.s
1 // Copyright 2018 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 #include "textflag.h" 6 7 TEXT runtime·growMemory(SB), NOSPLIT, $0 8 Get SP 9 I32Load pages+0(FP) 10 GrowMemory 11 I32Store ret+4(FP) // result follows pages at PtrSize-aligned offset 4 12 RET 13