Chromium Code Reviews| Index: src/v8globals.h |
| diff --git a/src/v8globals.h b/src/v8globals.h |
| index 4910cb7358de7e019a41010126fceb651b75a5f1..a9980e5b3c46d543c3c8d4cc9d60223b203a6f23 100644 |
| --- a/src/v8globals.h |
| +++ b/src/v8globals.h |
| @@ -322,6 +322,9 @@ union DoubleRepresentation { |
| double value; |
| int64_t bits; |
| DoubleRepresentation(double x) { value = x; } |
| + bool operator==(const DoubleRepresentation& other) const { |
| + return bits == other.bits; |
| + } |
| }; |