Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e589b7f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add HighAtomic to pagetypeinfo, and don't fail if a header can't be...

Merge "Add HighAtomic to pagetypeinfo, and don't fail if a header can't be found in proto definition."
parents 049a52da 6bd2f25f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -104,7 +104,8 @@ PageTypeInfoParser::Parse(const int in, const int out) const

                for (size_t i=0; i<blockHeader.size(); i++) {
                    if (!table.insertField(&proto, blockHeader[i], blockCounts[i+1])) {
                        return BAD_VALUE;
                        fprintf(stderr, "Header %s has bad data %s\n", blockHeader[i].c_str(),
                            blockCounts[i+1].c_str());
                    }
                }
            } else return BAD_VALUE;
+3 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ message PageTypeInfoProto {
    }
    repeated MigrateType migrate_types = 3;

    // Next tag: 9
    // Next tag: 10
    message Block {
        option (android.msg_privacy).dest = DEST_AUTOMATIC;

@@ -77,6 +77,8 @@ message PageTypeInfoProto {
        optional int32 reserve = 7;

        optional int32 isolate = 8;

        optional int32 highatomic = 9;
    }
    repeated Block blocks = 4;
}