| Index: test/cctest/test-compare-nil-ic-stub.cc
|
| ===================================================================
|
| --- test/cctest/test-compare-nil-ic-stub.cc (revision 15486)
|
| +++ test/cctest/test-compare-nil-ic-stub.cc (working copy)
|
| @@ -43,6 +43,7 @@
|
| CHECK_EQ(state.ToIntegral(), state2.ToIntegral());
|
| }
|
|
|
| +
|
| TEST(ExternalICStateParsing) {
|
| State state;
|
| state.Add(CompareNilICStub::UNDEFINED);
|
| @@ -52,6 +53,7 @@
|
| CHECK_EQ(stub.GetState().ToIntegral(), stub2.GetState().ToIntegral());
|
| }
|
|
|
| +
|
| TEST(SettingState) {
|
| State state;
|
| CHECK(state.IsEmpty());
|
| @@ -66,6 +68,7 @@
|
| CHECK(!state.Contains(CompareNilICStub::UNDETECTABLE));
|
| }
|
|
|
| +
|
| TEST(ClearState) {
|
| State state;
|
| state.Add(CompareNilICStub::NULL_TYPE);
|
| @@ -73,6 +76,7 @@
|
| CHECK(state.IsEmpty());
|
| }
|
|
|
| +
|
| TEST(Generic) {
|
| State state;
|
| CHECK(State::Generic() != state);
|
|
|