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

call the tracer after field writes #430

Merged
merged 42 commits into from
Apr 1, 2022
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
fcc8b48
first pass at including default constructors
ivoysey Feb 22, 2022
7b73183
adding a time string to the benchmarks file so it doesn't get overwri…
ivoysey Feb 23, 2022
3ab6153
updating the test script to optionally save the optimized and pretty …
ivoysey Feb 23, 2022
abceaf7
generate constructor and arguments
ivoysey Feb 23, 2022
88ef611
changing the name of the test transaction to avoid #424
ivoysey Feb 24, 2022
003d764
adding a prefix to constructor argument names so that they are unique
ivoysey Feb 24, 2022
7729490
whitespace, scala style
ivoysey Feb 24, 2022
a605547
writing a helper for unified names of transactions
ivoysey Feb 24, 2022
885c362
updating codegen to use the single helper, adding comments
ivoysey Feb 24, 2022
a5822f3
convenience script for local debugging
ivoysey Feb 24, 2022
50337af
updating translateTransaction to be able to use the unified helper fo…
ivoysey Feb 24, 2022
392a0d1
fixing whitespace
ivoysey Feb 24, 2022
7fae856
changing the test script so that it calls transactions from main with…
ivoysey Feb 24, 2022
16b1e19
removing inMain boolean argument, it was a symptom of nonuniform tran…
ivoysey Feb 24, 2022
81e245d
removing some redunant code in translateProgram, pushing helpers into…
ivoysey Feb 25, 2022
eda226c
fixing a silly error, changing how line comments get printed for read…
ivoysey Feb 25, 2022
c08ecf4
first pass at producing the sequence of assignments for the body of t…
ivoysey Feb 25, 2022
fb721f6
whitespace, scala style
ivoysey Feb 25, 2022
ec0f303
some comments, changing the signature of the internal function so i c…
ivoysey Feb 25, 2022
4ab700e
removing an accidental implementation of seq.reverse
ivoysey Feb 25, 2022
9922108
updating helper script
ivoysey Feb 25, 2022
f38ab2d
update the field where it actually is in memory; adding a helper func…
ivoysey Feb 25, 2022
d281f5b
using the helper to declare vars not just assign them
ivoysey Feb 25, 2022
2813fa8
adding a test specifically for default constructors
ivoysey Feb 25, 2022
5fcb6ae
whitespace
ivoysey Feb 25, 2022
94e69a4
another missing reverse here
ivoysey Feb 25, 2022
260e466
adding comments
ivoysey Feb 25, 2022
f97fd39
first cut at calling the constructor for main per #426 #427
ivoysey Feb 25, 2022
76653ce
merge conflicts
ivoysey Feb 28, 2022
feed12a
comment
ivoysey Feb 28, 2022
fbb51d0
adding memory allocation to the invoke block, calling default constru…
ivoysey Mar 1, 2022
f152e16
moving the codecopy after the tracer def and call
ivoysey Mar 2, 2022
0553c81
adding a test case
ivoysey Mar 3, 2022
cc15501
scraps
ivoysey Mar 9, 2022
219e681
first cut at tracing after pointer write
ivoysey Mar 9, 2022
8d0ee22
merging in from master
ivoysey Mar 29, 2022
c4885b6
adding a couple new helper functions; changing the update field helpe…
ivoysey Mar 31, 2022
f6572b1
using new helper functions. adding tracer call code in pointer writes
ivoysey Mar 31, 2022
ee9728b
reversing a bad change, adding a comment about why so i dont feel tem…
ivoysey Mar 31, 2022
f73f979
after debugging, changing which identifier goes to the trace call
ivoysey Apr 1, 2022
1a91b63
whitespace, comments
ivoysey Apr 1, 2022
704f143
Removing trace this test case. see #434
ivoysey Apr 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge conflicts
ivoysey committed Feb 28, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 76653cef665a88f117826654c7e90325107cdcf7
6 changes: 3 additions & 3 deletions src/main/scala/edu/cmu/cs/obsidian/codegen/CodeGenYul.scala
Original file line number Diff line number Diff line change
@@ -208,11 +208,11 @@ object CodeGenYul extends CodeGenerator {
// call the constructor on that for the this argument and the right
ExpressionStatement(apply(sub_constructor_name, sub_this +: args_for_sub: _*))) ++ acc
, rest)
case _ => (Seq(), sig)
case _ => (acc, sig)
}
case _ => (Seq(), sig)
case _ => (acc, sig)
}
case _ => (Seq(), sig)
case _ => (acc, sig)
}
}

You are viewing a condensed version of this merge commit. You can view the full changes here.