Do either Serpent or Solidity allow calling other functions in the same contract via a JUMP opcode, or do they only use CALL?


All function calls within the same contract (except those explicitly marked external) are implemented as JUMPs in Solidity by default.

| improve this answer | |
  • I ask because I believe Serpent always uses CALL – Broseph Jan 27 '17 at 20:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.