• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 11435
98%

Build:
DEFAULT BRANCH: master
Ran 26 Sep 2019 05:52AM UTC
Jobs 1
Files 246
Run time 12s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11435

push

travis-ci

dpgeorge
py: Split RAISE_VARARGS opcode into 3 separate ones.

From the beginning of this project the RAISE_VARARGS opcode was named and
implemented following CPython, where it has an argument (to the opcode)
counting how many args the raise takes:

    raise # 0 args (re-raise previous exception)
    raise exc # 1 arg
    raise exc from exc2 # 2 args (chained raise)

In the bytecode this operation therefore takes 2 bytes, one for
RAISE_VARARGS and one for the number of args.

This patch splits this opcode into 3, where each is now a single byte.
This reduces bytecode size by 1 byte for each use of raise.  Every byte
counts!  It also has the benefit of reducing code size (on all ports except
nanbox).

17 of 17 new or added lines in 3 files covered. (100.0%)

18400 of 18780 relevant lines covered (97.98%)

373287.21 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11435.3 (NAME="unix coverage build and tests") 26 Sep 2019 05:52AM UTC 0
97.98
Travis Job 11435.3
Source Files on build 11435
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11435
  • 02db91a7 on github
  • Prev Build on master (#11434)
  • Next Build on master (#11436)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc