Skip to content

small enhancement to cross inlining: TODO: 1. add comments if we can,… #81

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
merged 1 commit into from
Feb 8, 2016

Conversation

bobzhang
Copy link
Member

@bobzhang bobzhang commented Feb 5, 2016

… for example, cross module constants, 2. specialize some functions as early as we can

@@ -21,7 +20,7 @@ function force_lazy_block(blk) {
try {
var result = closure(/* () */0);
blk[0] = result;
Caml_obj_runtime.caml_obj_set_tag(blk, Obj.forward_tag);
Caml_obj_runtime.caml_obj_set_tag(blk, 250);
Copy link
Member Author

Choose a reason for hiding this comment

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

  1. should generate comment
  2. should have an option to disable cross module optimization

… for example, cross module constants, 2. specialize some functions as early as we can

TODO: improve lambda exports
bobzhang added a commit that referenced this pull request Feb 8, 2016
small enhancement to cross inlining: TODO: 1. add comments if we can,…
@bobzhang bobzhang merged commit 41edc6d into master Feb 8, 2016
@bobzhang bobzhang deleted the small_function branch February 8, 2016 19:34
EduardoRFS pushed a commit to EduardoRFS/bucklescript that referenced this pull request Apr 5, 2021
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.

1 participant