summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index c50e04791d..c00ac4e5d9 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -3012,6 +3012,8 @@ class HMethodEntryHook : public HExpression<0> {
return true;
}
+ bool CanThrow() const override { return true; }
+
DECLARE_INSTRUCTION(MethodEntryHook);
protected:
@@ -3029,6 +3031,8 @@ class HMethodExitHook : public HExpression<1> {
return true;
}
+ bool CanThrow() const override { return true; }
+
DECLARE_INSTRUCTION(MethodExitHook);
protected: