| Index: test/cctest/test-compare-nil-ic-stub.cc
|
| diff --git a/test/cctest/test-compare-nil-ic-stub.cc b/test/cctest/test-compare-nil-ic-stub.cc
|
| index 258ab012c7c882f3d677cc22880b3a93125ec915..78bb6fd3ba0b17e46ce5d6ab10e82771779fe507 100644
|
| --- a/test/cctest/test-compare-nil-ic-stub.cc
|
| +++ b/test/cctest/test-compare-nil-ic-stub.cc
|
| @@ -43,6 +43,7 @@ TEST(StateConstructors) {
|
| CHECK_EQ(state.ToIntegral(), state2.ToIntegral());
|
| }
|
|
|
| +
|
| TEST(ExternalICStateParsing) {
|
| State state;
|
| state.Add(CompareNilICStub::UNDEFINED);
|
| @@ -52,6 +53,7 @@ TEST(ExternalICStateParsing) {
|
| CHECK_EQ(stub.GetState().ToIntegral(), stub2.GetState().ToIntegral());
|
| }
|
|
|
| +
|
| TEST(SettingState) {
|
| State state;
|
| CHECK(state.IsEmpty());
|
| @@ -66,6 +68,7 @@ TEST(SettingState) {
|
| CHECK(!state.Contains(CompareNilICStub::UNDETECTABLE));
|
| }
|
|
|
| +
|
| TEST(ClearState) {
|
| State state;
|
| state.Add(CompareNilICStub::NULL_TYPE);
|
| @@ -73,6 +76,7 @@ TEST(ClearState) {
|
| CHECK(state.IsEmpty());
|
| }
|
|
|
| +
|
| TEST(Generic) {
|
| State state;
|
| CHECK(State::Generic() != state);
|
|
|