mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-10 02:25:47 +00:00
This is not a common case, in fact it never happens!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -87,10 +87,6 @@ namespace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
friend hash_code hash_value(const Expression &Value) {
|
friend hash_code hash_value(const Expression &Value) {
|
||||||
// Optimize for the common case.
|
|
||||||
if (Value.varargs.empty())
|
|
||||||
return hash_combine(Value.opcode, Value.type);
|
|
||||||
|
|
||||||
return hash_combine(Value.opcode, Value.type,
|
return hash_combine(Value.opcode, Value.type,
|
||||||
hash_combine_range(Value.varargs.begin(),
|
hash_combine_range(Value.varargs.begin(),
|
||||||
Value.varargs.end()));
|
Value.varargs.end()));
|
||||||
|
Reference in New Issue
Block a user