mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-23 01:28:01 +00:00
suppress warnings about unused things
Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -1041,13 +1041,13 @@ where
|
||||
InstructionName::CALL => {
|
||||
let mut arguments = self.pop_arguments_llvm(context);
|
||||
|
||||
let gas = arguments.remove(0).into_int_value();
|
||||
let address = arguments.remove(0).into_int_value();
|
||||
let value = arguments.remove(0).into_int_value();
|
||||
let input_offset = arguments.remove(0).into_int_value();
|
||||
let input_size = arguments.remove(0).into_int_value();
|
||||
let output_offset = arguments.remove(0).into_int_value();
|
||||
let output_size = arguments.remove(0).into_int_value();
|
||||
let _gas = arguments.remove(0).into_int_value();
|
||||
let _address = arguments.remove(0).into_int_value();
|
||||
let _value = arguments.remove(0).into_int_value();
|
||||
let _input_offset = arguments.remove(0).into_int_value();
|
||||
let _input_size = arguments.remove(0).into_int_value();
|
||||
let _output_offset = arguments.remove(0).into_int_value();
|
||||
let _output_size = arguments.remove(0).into_int_value();
|
||||
|
||||
todo!()
|
||||
/*
|
||||
|
||||
@@ -748,15 +748,15 @@ impl FunctionCall {
|
||||
Name::Call => {
|
||||
let arguments = self.pop_arguments::<D, 7>(context)?;
|
||||
|
||||
let gas = arguments[0].value.into_int_value();
|
||||
let address = arguments[1].value.into_int_value();
|
||||
let value = arguments[2].value.into_int_value();
|
||||
let input_offset = arguments[3].value.into_int_value();
|
||||
let input_size = arguments[4].value.into_int_value();
|
||||
let output_offset = arguments[5].value.into_int_value();
|
||||
let output_size = arguments[6].value.into_int_value();
|
||||
let _gas = arguments[0].value.into_int_value();
|
||||
let _address = arguments[1].value.into_int_value();
|
||||
let _value = arguments[2].value.into_int_value();
|
||||
let _input_offset = arguments[3].value.into_int_value();
|
||||
let _input_size = arguments[4].value.into_int_value();
|
||||
let _output_offset = arguments[5].value.into_int_value();
|
||||
let _output_size = arguments[6].value.into_int_value();
|
||||
|
||||
let simulation_address: Vec<Option<num::BigUint>> = arguments
|
||||
let _simulation_address: Vec<Option<num::BigUint>> = arguments
|
||||
.into_iter()
|
||||
.map(|mut argument| argument.constant.take())
|
||||
.collect();
|
||||
|
||||
@@ -218,7 +218,7 @@ where
|
||||
);
|
||||
}
|
||||
|
||||
let arguments = call.pop_arguments_llvm::<D, ARGUMENTS_COUNT>(context)?;
|
||||
let _arguments = call.pop_arguments_llvm::<D, ARGUMENTS_COUNT>(context)?;
|
||||
todo!()
|
||||
//era_compiler_llvm_context::eravm_call::raw_far(
|
||||
// context,
|
||||
@@ -255,7 +255,7 @@ where
|
||||
)
|
||||
.map(Some)
|
||||
}
|
||||
identifier @ "system_call" => {
|
||||
_identifier @ "system_call" => {
|
||||
unimplemented!()
|
||||
}
|
||||
identifier @ "system_call_byref" => {
|
||||
|
||||
Reference in New Issue
Block a user