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

Can not support external variables and can not support optimizations #20

Open
onlytheworld opened this issue Nov 6, 2023 · 0 comments

Comments

@onlytheworld
Copy link

``Can not support external variables like
empty addr node load inst @xx_hold = external dso_local global %union.rec*, align 8 in func Next
can not support optimizations like O2,

empty di local var: Next1 - 1
empty di local var: Next1 - 1
empty di local var: Next1 - 1
empty addr node load inst i64* bitcast (%union.rec** @zz_res to i64*) in func Next
empty addr node load inst %struct.word_type*** bitcast (%union.rec** @zz_hold to %struct.word_type***) in func Next

for functions like

OBJECT Next(OBJECT x, int inc, BOOLEAN *done)
{ OBJECT y, link;  int l, r, n, len;
  FULL_CHAR buff[MAX_BUFF];
  debug3(DCS, DD, "Next( %s, %d, %s )", EchoObject(x), inc, bool(*done));
  switch( type(x) )
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

No branches or pull requests

1 participant