summaryrefslogtreecommitdiffstats
path: root/js/src/jit/BacktrackingAllocator.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-23 09:44:24 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-23 09:44:24 +0200
commit980b7e4da5d80f09cf805674b8822b260870b8d3 (patch)
tree976c68df9149b23bd20a7dd52d33dd5004d8f26a /js/src/jit/BacktrackingAllocator.h
parent1d3233c49d8153761d55204ce615f554395435b4 (diff)
downloadUXP-980b7e4da5d80f09cf805674b8822b260870b8d3.tar
UXP-980b7e4da5d80f09cf805674b8822b260870b8d3.tar.gz
UXP-980b7e4da5d80f09cf805674b8822b260870b8d3.tar.lz
UXP-980b7e4da5d80f09cf805674b8822b260870b8d3.tar.xz
UXP-980b7e4da5d80f09cf805674b8822b260870b8d3.zip
Improve graph edge resolution code.
This is a follow-up to ca7ecd37c94e268972697a37eec4e46771c6e6f2 further improving the DiD resolution for CVE-2018-12386.
Diffstat (limited to 'js/src/jit/BacktrackingAllocator.h')
-rw-r--r--js/src/jit/BacktrackingAllocator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit/BacktrackingAllocator.h b/js/src/jit/BacktrackingAllocator.h
index 9910498fb..ef3c2a572 100644
--- a/js/src/jit/BacktrackingAllocator.h
+++ b/js/src/jit/BacktrackingAllocator.h
@@ -774,6 +774,9 @@ class BacktrackingAllocator : protected RegisterAllocator
return addMove(moves, from, to, type);
}
+ MOZ_MUST_USE bool moveAtEdge(LBlock* predecessor, LBlock* successor, LiveRange* from,
+ LiveRange* to, LDefinition::Type type);
+
// Debugging methods.
void dumpAllocations();