Commit d12d3aab by Jim Stichnoth

Subzero: Fix an incorrect StringPool assert.

BUG= none R=jpp@chromium.org Review URL: https://codereview.chromium.org/1866993002 .
parent d72385f2
...@@ -118,7 +118,7 @@ public: ...@@ -118,7 +118,7 @@ public:
if (!ThisHasString && !OtherHasString) if (!ThisHasString && !OtherHasString)
return ID < Other.ID; return ID < Other.ID;
// If exactly one has a string, then that one comes first. // If exactly one has a string, then that one comes first.
assert(!OtherHasString); assert(ThisHasString != OtherHasString);
return ThisHasString; return ThisHasString;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment