mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
LoadLocal instruction
Changes InstructionValue::Place to InstructionValue::LoadLocal for clarity, this is intended as the only instruction where a variable can appear as an operand. All other instructions operands will be temporaries.
This commit is contained in:
1 parent
08c1eda7ff
commit
71db40c6ff
26 files changed
+152
-129
No files matched your search
@@ -484,7 +484,11 @@ class Driver {
|
||||
return {
|
||||
block: defaultBlock.id,
|
||||
place: defaultBlock.terminal.test,
|
||||
value: defaultBlock.terminal.test,
|
||||
value: {
|
||||
kind: "LoadLocal",
|
||||
place: defaultBlock.terminal.test,
|
||||
loc: defaultBlock.terminal.test.loc,
|
||||
},
|
||||
id: defaultBlock.terminal.id,
|
||||
};
|
||||
} else if (defaultBlock.instructions.length === 1) {
|
||||
|
||||
Reference in new issue
Block a user