mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
remove stack manipulation from AvianCallingConvention loop
This commit is contained in:
committed by
Joshua Warner
parent
9f36a8e0ec
commit
d62d083733
@ -2502,6 +2502,7 @@ class MyCompiler: public Compiler {
|
||||
Slice<ir::Value*> arguments)
|
||||
{
|
||||
Value* result = value(&c, resultType);
|
||||
Stack* b UNUSED = c.stack;
|
||||
appendCall(&c,
|
||||
static_cast<Value*>(address),
|
||||
ir::AvianCallingConvention,
|
||||
@ -2510,6 +2511,7 @@ class MyCompiler: public Compiler {
|
||||
result,
|
||||
resultType.size(),
|
||||
arguments);
|
||||
assert(&c, c.stack == b);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user