Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssa: support runtime.map #431

Merged
merged 11 commits into from
Jul 4, 2024
Merged

ssa: support runtime.map #431

merged 11 commits into from
Jul 4, 2024

Conversation

visualfc
Copy link
Member

@visualfc visualfc commented Jun 28, 2024

ssa/runtime

  • ssa: index takeAddress
  • ssa: runtime type.equal
  • runtime: check abi.KindDirectIface
  • runtime: check abi.TFlagRegularMemory

support runtime.map

  • ssa.MakeMap
  • ssa.MapUpdate
  • ssa.Lookup
  • ssa.Range
  • ssa.Next
  • map eql nil
  • map delete
  • map clear ( Go1.21 ~ )
  • mapType.hasher

Copy link

codecov bot commented Jun 28, 2024

Codecov Report

Attention: Patch coverage is 94.92754% with 7 lines in your changes missing coverage. Please review.

Project coverage is 97.47%. Comparing base (e05e61a) to head (91ba215).

Files Patch % Lines
ssa/expr.go 77.77% 6 Missing ⚠️
ssa/datastruct.go 98.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #431      +/-   ##
==========================================
+ Coverage   97.39%   97.47%   +0.08%     
==========================================
  Files          19       19              
  Lines        4259     4362     +103     
==========================================
+ Hits         4148     4252     +104     
  Misses         94       94              
+ Partials       17       16       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@visualfc visualfc force-pushed the map branch 8 times, most recently from 25360c7 to 75a77ab Compare July 2, 2024 13:50
@visualfc visualfc changed the title [wip] ssa: support runtime.map ssa: support runtime.map Jul 3, 2024
@visualfc visualfc changed the title ssa: support runtime.map [WIP] ssa: support runtime.map Jul 3, 2024
@visualfc visualfc changed the title [WIP] ssa: support runtime.map ssa: support runtime.map Jul 3, 2024
@visualfc visualfc force-pushed the map branch 3 times, most recently from 7efbe89 to 3bba55e Compare July 4, 2024 07:47
internal/runtime/map.go Outdated Show resolved Hide resolved
@xushiwei xushiwei merged commit b0941fa into goplus:main Jul 4, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants