|
|
|
@ -892,97 +892,97 @@ func newFrontierInstructionSet() JumpTable { |
|
|
|
|
maxStack: maxDupStack(16), |
|
|
|
|
}, |
|
|
|
|
SWAP1: { |
|
|
|
|
execute: makeSwap(1), |
|
|
|
|
execute: opSwap1, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(2), |
|
|
|
|
maxStack: maxSwapStack(2), |
|
|
|
|
}, |
|
|
|
|
SWAP2: { |
|
|
|
|
execute: makeSwap(2), |
|
|
|
|
execute: opSwap2, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(3), |
|
|
|
|
maxStack: maxSwapStack(3), |
|
|
|
|
}, |
|
|
|
|
SWAP3: { |
|
|
|
|
execute: makeSwap(3), |
|
|
|
|
execute: opSwap3, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(4), |
|
|
|
|
maxStack: maxSwapStack(4), |
|
|
|
|
}, |
|
|
|
|
SWAP4: { |
|
|
|
|
execute: makeSwap(4), |
|
|
|
|
execute: opSwap4, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(5), |
|
|
|
|
maxStack: maxSwapStack(5), |
|
|
|
|
}, |
|
|
|
|
SWAP5: { |
|
|
|
|
execute: makeSwap(5), |
|
|
|
|
execute: opSwap5, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(6), |
|
|
|
|
maxStack: maxSwapStack(6), |
|
|
|
|
}, |
|
|
|
|
SWAP6: { |
|
|
|
|
execute: makeSwap(6), |
|
|
|
|
execute: opSwap6, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(7), |
|
|
|
|
maxStack: maxSwapStack(7), |
|
|
|
|
}, |
|
|
|
|
SWAP7: { |
|
|
|
|
execute: makeSwap(7), |
|
|
|
|
execute: opSwap7, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(8), |
|
|
|
|
maxStack: maxSwapStack(8), |
|
|
|
|
}, |
|
|
|
|
SWAP8: { |
|
|
|
|
execute: makeSwap(8), |
|
|
|
|
execute: opSwap8, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(9), |
|
|
|
|
maxStack: maxSwapStack(9), |
|
|
|
|
}, |
|
|
|
|
SWAP9: { |
|
|
|
|
execute: makeSwap(9), |
|
|
|
|
execute: opSwap9, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(10), |
|
|
|
|
maxStack: maxSwapStack(10), |
|
|
|
|
}, |
|
|
|
|
SWAP10: { |
|
|
|
|
execute: makeSwap(10), |
|
|
|
|
execute: opSwap10, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(11), |
|
|
|
|
maxStack: maxSwapStack(11), |
|
|
|
|
}, |
|
|
|
|
SWAP11: { |
|
|
|
|
execute: makeSwap(11), |
|
|
|
|
execute: opSwap11, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(12), |
|
|
|
|
maxStack: maxSwapStack(12), |
|
|
|
|
}, |
|
|
|
|
SWAP12: { |
|
|
|
|
execute: makeSwap(12), |
|
|
|
|
execute: opSwap12, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(13), |
|
|
|
|
maxStack: maxSwapStack(13), |
|
|
|
|
}, |
|
|
|
|
SWAP13: { |
|
|
|
|
execute: makeSwap(13), |
|
|
|
|
execute: opSwap13, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(14), |
|
|
|
|
maxStack: maxSwapStack(14), |
|
|
|
|
}, |
|
|
|
|
SWAP14: { |
|
|
|
|
execute: makeSwap(14), |
|
|
|
|
execute: opSwap14, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(15), |
|
|
|
|
maxStack: maxSwapStack(15), |
|
|
|
|
}, |
|
|
|
|
SWAP15: { |
|
|
|
|
execute: makeSwap(15), |
|
|
|
|
execute: opSwap15, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(16), |
|
|
|
|
maxStack: maxSwapStack(16), |
|
|
|
|
}, |
|
|
|
|
SWAP16: { |
|
|
|
|
execute: makeSwap(16), |
|
|
|
|
execute: opSwap16, |
|
|
|
|
constantGas: GasFastestStep, |
|
|
|
|
minStack: minSwapStack(17), |
|
|
|
|
maxStack: maxSwapStack(17), |
|
|
|
|