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

internal: changed var to const in internal/v8_polyfill #8615

Closed

Conversation

AdriVanHoudt
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

internal

Description of change

Changed var to const.
Part of nodejs/code-and-learn#56

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Sep 17, 2016
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

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

LGTM

@mscdex mscdex added the v8 engine Issues and PRs related to the V8 dependency. label Sep 17, 2016
@Fishrock123
Copy link
Contributor

@matthewloring is this copied verbatim from in V8? If so we may not want to do this?

@AdriVanHoudt
Copy link
Contributor Author

@Fishrock123 I thought about that but since it is a polyfill and there is no comment about it I went ahead. If this is a copied verbatim we might want to add a comment in the file about that.

@matthewloring
Copy link

These are not copied from V8. LGTM.

@targos
Copy link
Member

targos commented Sep 17, 2016

why is there a "Copyright 2012 the V8 project authors." then ?

@matthewloring
Copy link

The 2012 is an error. I believe I originally did the work in V8 and then moved it over to Node.js. Let me look back and double check.

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

LGTM

jasnell pushed a commit that referenced this pull request Sep 22, 2016
PR-URL: #8615
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@jasnell
Copy link
Member

jasnell commented Sep 22, 2016

Landed in 99f64f7. Thank you!
The additional bits that may need to be fixed in here can be done separately.

@jasnell jasnell closed this Sep 22, 2016
@AdriVanHoudt AdriVanHoudt deleted the const_v8_prof_polyfill branch September 22, 2016 21:50
jasnell pushed a commit that referenced this pull request Sep 29, 2016
PR-URL: #8615
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Fishrock123 pushed a commit that referenced this pull request Oct 11, 2016
PR-URL: #8615
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants