Chromium Code Reviews| Index: src/x64/codegen-x64.cc |
| =================================================================== |
| --- src/x64/codegen-x64.cc (revision 2284) |
| +++ src/x64/codegen-x64.cc (working copy) |
| @@ -6757,6 +6757,13 @@ |
| } |
| +int CompareStub::MinorKey() { |
| + // Encode the two parameters in a unique 16 bit value. |
| + ASSERT(static_cast<unsigned>(cc_) < (1 << 15)); |
| + return (static_cast<unsigned>(cc_) << 1) | (strict_ ? 1 : 0); |
| +} |
| + |
| + |
| #undef __ |
| } } // namespace v8::internal |