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

This commit is contained in:
TreeHugger Robot
2018-02-21 21:42:35 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;
}