Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1667 from lukastaegert/simple-object-shape-tracking
Implement object shape and function return value tracking
- Loading branch information
Showing
353 changed files
with
6,553 additions
and
831 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,6 @@ coverage | |
.commithash | ||
.idea | ||
bin/rollup | ||
test/_tmp | ||
test/_tmp | ||
test/hooks/tmp | ||
test/tmp |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export default class CallOptions { | ||
static create ( callOptions ) { | ||
return new this( callOptions ); | ||
} | ||
|
||
constructor ( { withNew = false, args = [], caller } = {} ) { | ||
this.withNew = withNew; | ||
this.args = args; | ||
this.caller = caller; | ||
} | ||
|
||
equals ( callOptions ) { | ||
return callOptions && this.caller === callOptions.caller; | ||
} | ||
} |
Oops, something went wrong.