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

Wrong lloc count #614

Closed
marco-c opened this issue Apr 9, 2021 · 1 comment · Fixed by #620
Closed

Wrong lloc count #614

marco-c opened this issue Apr 9, 2021 · 1 comment · Fixed by #620
Labels
bug Something isn't working

Comments

@marco-c
Copy link
Collaborator

marco-c commented Apr 9, 2021

void XPCJSRuntime::CustomGCCallback(JSGCStatus status) {
  nsTArray<xpcGCCallback> callbacks(extraGCCallbacks.Clone());
  for (uint32_t i = 0; i < callbacks.Length(); ++i) {
    callbacks[i](status);
  }
}

lloc for this snippet is 1.0.

@marco-c marco-c added the bug Something isn't working label Apr 9, 2021
@marco-c
Copy link
Collaborator Author

marco-c commented Apr 9, 2021

Before #611 it was 2, after #611 it was 1, after #616 it is 2 again. There must be some intermittency in the grammar generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant