Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
tekknolagi committed Nov 28, 2023
1 parent 88dc5c0 commit b3fd31e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions runtime/bytecode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@ struct Edge {
V(END_ASYNC_FOR)

static Vector<Edge> findEdges(const MutableBytes& bytecode) {
// TODO(max): Collapse edges for uninteresting opcodes. There shouldn't be
// edges for POP_TOP, etc; just control flow and anything that touches
// locals. But maybe this is analysis specific (definite assignment only
// cares about STORE_FAST and DELETE_FAST whereas constant propagation cares
// about LOAD_CONST and BINARY_ADD and stuff.)
Vector<Edge> edges;
word num_opcodes = rewrittenBytecodeLength(bytecode);
for (word i = 0; i < num_opcodes;) {
Expand Down

0 comments on commit b3fd31e

Please sign in to comment.