sisshiki1969 / monoruby

Ruby implementation with yet another JIT compiler.
Apache License 2.0
110 stars 4 forks source link

Refactor: Error handling. #13

Closed sisshiki1969 closed 1 year ago

sisshiki1969 commented 1 year ago

Move error field from Globals to Executor.

codecov[bot] commented 1 year ago

Codecov Report

Merging #13 (827b98e) into master (3faab0b) will increase coverage by 0.03%. The diff coverage is 84.47%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage   81.07%   81.11%   +0.03%     
==========================================
  Files          71       72       +1     
  Lines       24876    24991     +115     
==========================================
+ Hits        20168    20271     +103     
- Misses       4708     4720      +12     
Impacted Files Coverage Δ
src/executor/builtins/object.rs 86.46% <0.00%> (ø)
src/executor/builtins/random.rs 12.90% <0.00%> (ø)
src/executor/bytecodegen.rs 92.64% <ø> (+6.70%) :arrow_up:
src/executor/bytecodegen/statement.rs 93.98% <ø> (ø)
src/executor/compiler.rs 99.20% <ø> (-0.01%) :arrow_down:
src/executor/compiler/jitgen/merge.rs 68.75% <0.00%> (ø)
src/executor/globals.rs 80.05% <ø> (-0.64%) :arrow_down:
src/executor/builtins/integer.rs 84.86% <33.33%> (ø)
src/executor/bytecodegen/method_call.rs 72.60% <43.12%> (-15.77%) :arrow_down:
src/executor/compiler/runtime.rs 89.62% <63.15%> (-0.33%) :arrow_down:
... and 26 more

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more