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

[Merged by Bors] - [Merged by Bors] - Fix get function opcode traces #2708

Closed
wants to merge 1 commit into from

Conversation

HalidOdat
Copy link
Member

@HalidOdat HalidOdat commented Mar 20, 2023

Fix get function opcode traces (GetFunction, GetGenerator, etc)

function x() {
    let y = 0;
}

Before:

000000    0000    GetFunction                0000: 'JSInternedStrRef { utf8: Some("x"), utf16: [120] }' (length: 0)
000006    0001    DefInitVar                 0000: 'x'

After:

000000    0000    GetFunction                0000: 'x' (length: 0)
000006    0001    DefInitVar                 0000: 'x'

@HalidOdat HalidOdat added bug Something isn't working cli Issues and PRs related to the Boa command line interface. labels Mar 20, 2023
@HalidOdat HalidOdat changed the title Fix get function opcode type traces Fix get function opcode traces Mar 20, 2023
@HalidOdat HalidOdat added this to the v0.17.0 milestone Mar 20, 2023
@codecov
Copy link

codecov bot commented Mar 20, 2023

Codecov Report

Merging #2708 (6eeaabc) into main (b3e045a) will increase coverage by 1.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2708      +/-   ##
==========================================
+ Coverage   49.44%   50.47%   +1.02%     
==========================================
  Files         395      393       -2     
  Lines       39693    38857     -836     
==========================================
- Hits        19627    19613      -14     
+ Misses      20066    19244     -822     
Impacted Files Coverage Δ
boa_engine/src/vm/code_block.rs 29.56% <ø> (-1.34%) ⬇️

... and 18 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@HalidOdat HalidOdat force-pushed the fix/get-function-opcode-trace branch from b12ffb4 to 6eeaabc Compare March 21, 2023 13:06
@github-actions
Copy link

Test262 conformance changes

Test result main count PR count difference
Total 94,277 94,277 0
Passed 70,989 70,989 0
Ignored 17,324 17,324 0
Failed 5,964 5,964 0
Panics 14 14 0
Conformance 75.30% 75.30% 0.00%

Copy link
Member

@Razican Razican left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Member

@jedel1043 jedel1043 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement :)

@jedel1043
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Mar 21, 2023
 Fix get function opcode traces (`GetFunction`, `GetGenerator`, etc)

```js
function x() {
    let y = 0;
}
```
Before:
```
000000    0000    GetFunction                0000: 'JSInternedStrRef { utf8: Some("x"), utf16: [120] }' (length: 0)
000006    0001    DefInitVar                 0000: 'x'
```

After:
```
000000    0000    GetFunction                0000: 'x' (length: 0)
000006    0001    DefInitVar                 0000: 'x'
```
@bors
Copy link

bors bot commented Mar 21, 2023

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Fix get function opcode traces [Merged by Bors] - Fix get function opcode traces Mar 21, 2023
@bors bors bot closed this Mar 21, 2023
@bors
Copy link

bors bot commented Mar 21, 2023

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title [Merged by Bors] - Fix get function opcode traces [Merged by Bors] - [Merged by Bors] - Fix get function opcode traces Mar 21, 2023
@HalidOdat HalidOdat deleted the fix/get-function-opcode-trace branch May 31, 2023 11:18
@HalidOdat HalidOdat restored the fix/get-function-opcode-trace branch May 31, 2023 11:18
@HalidOdat HalidOdat deleted the fix/get-function-opcode-trace branch May 31, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Issues and PRs related to the Boa command line interface.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants