powered by
Performs one dead store elimination pass. Carefully examine the results after running this function!
opt_dead_store(texts)
A list of character vectors with the code to optimize.
# NOT RUN { code <- paste( "foo <- function() {", " x <- 128 ^ 2", " return(TRUE)", "}", sep = "\n" ) cat(opt_dead_store(list(code))$codes[[1]]) # }
Run the code above in your browser using DataLab