mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 17:13:02 +02:00
- removed comment thlcgwasm.a_loadaddr_ref_reg that is not true for wasm
git-svn-id: branches/wasm@47938 -
This commit is contained in:
parent
f87f9969a7
commit
88d42344db
@ -1153,12 +1153,6 @@ implementation
|
||||
|
||||
procedure thlcgwasm.a_loadaddr_ref_reg(list: TAsmList; fromsize, tosize: tdef; const ref: treference; r: tregister);
|
||||
begin
|
||||
{ only allowed for types that are not implicit pointers in Pascal (in
|
||||
that case, ref contains a pointer to the actual data and we simply
|
||||
return that pointer) }
|
||||
//if not wasmAlwayInMem(fromsize) then
|
||||
// internalerror(2010120534);
|
||||
|
||||
if assigned(ref.symbol) then begin
|
||||
// pushing address on stack
|
||||
list.Concat(taicpu.op_ref(a_i32_const, ref));
|
||||
|
Loading…
Reference in New Issue
Block a user