mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
remove unused CallEvent::argumentStack variable, prepare to remove stack manipulation from NativeCallingConvention calls
This commit is contained in:
committed by
Joshua Warner
parent
d2e9911161
commit
fe2962830c
@ -2482,14 +2482,6 @@ class MyCompiler: public Compiler {
|
||||
|
||||
va_end(a);
|
||||
|
||||
Stack* argumentStack = c.stack;
|
||||
for (int i = index - 1; i >= 0; --i) {
|
||||
argumentStack = compiler::stack(
|
||||
&c,
|
||||
static_cast<Value*>(RUNTIME_ARRAY_BODY(arguments)[i]),
|
||||
argumentStack);
|
||||
}
|
||||
|
||||
Value* result = value(&c, resultType);
|
||||
appendCall(&c,
|
||||
static_cast<Value*>(address),
|
||||
@ -2498,7 +2490,6 @@ class MyCompiler: public Compiler {
|
||||
traceHandler,
|
||||
result,
|
||||
resultType.size(),
|
||||
argumentStack,
|
||||
util::Slice<ir::Value*>(RUNTIME_ARRAY_BODY(arguments), index));
|
||||
|
||||
return result;
|
||||
@ -2518,7 +2509,6 @@ class MyCompiler: public Compiler {
|
||||
traceHandler,
|
||||
result,
|
||||
resultType.size(),
|
||||
c.stack,
|
||||
arguments);
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user