Index: src/compiler/common-operator.cc |
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
index eda99d4fee0d2a94adc4bbc47514705ef99d64f3..9a16a403f8cc5cd89d4277db0b5df9373a8c9348 100644 |
--- a/src/compiler/common-operator.cc |
+++ b/src/compiler/common-operator.cc |
@@ -121,6 +121,8 @@ size_t ProjectionIndexOf(const Operator* const op) { |
V(End, Operator::kKontrol, 0, 0, 1, 0, 0, 0) \ |
V(IfTrue, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
V(IfFalse, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
+ V(IfException, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
+ V(IfSuccess, Operator::kKontrol, 0, 0, 1, 0, 0, 1) \ |
V(Throw, Operator::kFoldable, 1, 1, 1, 0, 0, 1) \ |
V(Return, Operator::kNoThrow, 1, 1, 1, 0, 0, 1) \ |
V(OsrNormalEntry, Operator::kFoldable, 0, 1, 1, 0, 1, 1) \ |
@@ -500,7 +502,8 @@ const Operator* CommonOperatorBuilder::Call(const CallDescriptor* descriptor) { |
Operator::ZeroIfPure(descriptor->properties()), |
Operator::ZeroIfPure(descriptor->properties()), |
descriptor->ReturnCount(), |
- Operator::ZeroIfPure(descriptor->properties()), 0, descriptor) {} |
+ Operator::ZeroIfPure(descriptor->properties()), |
+ Operator::ZeroIfNoThrow(descriptor->properties()), descriptor) {} |
void PrintParameter(std::ostream& os) const OVERRIDE { |
os << "[" << *parameter() << "]"; |