Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 934f9a6fa12b1a48ba0b65cc3f4d947f3c32eb4f..33681ed0999db60e764645b4a5fb03703e062e0e 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -804,6 +804,7 @@ Handle<Code> CompareNilICStub::GenerateCode() { |
template <> |
HValue* CodeStubGraphBuilder<UnaryOpStub>::BuildCodeInitializedStub() { |
UnaryOpStub* stub = casted_stub(); |
+ ASSERT_EQ(Token::BIT_NOT, stub->operation()); |
Handle<Type> type = stub->GetType(graph()->isolate()); |
HValue* input = GetParameter(0); |