summaryrefslogtreecommitdiffstats
path: root/js/src/jit/MIRGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit/MIRGraph.cpp')
-rw-r--r--js/src/jit/MIRGraph.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit/MIRGraph.cpp b/js/src/jit/MIRGraph.cpp
index 29b5897a09..47b0ce9b6c 100644
--- a/js/src/jit/MIRGraph.cpp
+++ b/js/src/jit/MIRGraph.cpp
@@ -47,6 +47,10 @@ bool MIRGenerator::licmEnabled() const {
!outerInfo().hadLICMInvalidation();
}
+bool MIRGenerator::branchHintingEnabled() const {
+ return outerInfo().branchHintingEnabled();
+}
+
mozilla::GenericErrorResult<AbortReason> MIRGenerator::abort(AbortReason r) {
if (JitSpewEnabled(JitSpew_IonAbort)) {
switch (r) {