File tree Expand file tree Collapse file tree
crates/interpreter/src/instructions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ macro_rules! gas_or_fail {
8686 } ;
8787}
8888
89- /// Resizes the interpreterreter memory if necessary. Fails the instruction if the memory or gas limit
89+ /// Resizes the interpreter memory if necessary. Fails the instruction if the memory or gas limit
9090/// is exceeded.
9191#[ macro_export]
9292#[ collapse_debuginfo( yes) ]
@@ -111,9 +111,9 @@ macro_rules! resize_memory {
111111#[ macro_export]
112112#[ collapse_debuginfo( yes) ]
113113macro_rules! popn {
114- ( [ $( $x: ident) ,* ] , $interpreterreter : expr $( , $ret: expr) ? ) => {
115- let Some ( [ $( $x ) ,* ] ) = $interpreterreter . stack. popn( ) else {
116- $interpreterreter . halt( $crate:: InstructionResult :: StackUnderflow ) ;
114+ ( [ $( $x: ident) ,* ] , $interpreter : expr $( , $ret: expr) ? ) => {
115+ let Some ( [ $( $x ) ,* ] ) = $interpreter . stack. popn( ) else {
116+ $interpreter . halt( $crate:: InstructionResult :: StackUnderflow ) ;
117117 return $( $ret) ?;
118118 } ;
119119 } ;
You can’t perform that action at this time.
0 commit comments