Chromium Code Reviews| Index: runtime/vm/freelist.h |
| diff --git a/runtime/vm/freelist.h b/runtime/vm/freelist.h |
| index 64f0574811c49ee13cbf2235338349c61d2ebc13..f1ac7db2c836f418b8f843950bea1e59c6f9b5ff 100644 |
| --- a/runtime/vm/freelist.h |
| +++ b/runtime/vm/freelist.h |
| @@ -42,7 +42,7 @@ class FreeListElement { |
| static FreeListElement* AsElement(uword addr, intptr_t size); |
| - static bool IsSpecialClass(RawObject* raw_obj) { |
| + static bool IsSpecialClass(const RawObject* raw_obj) { |
|
turnidge
2012/05/29 17:50:01
We don't seem to use "const RawObject*" much in ou
cshapiro
2012/06/01 04:27:02
As an aside, our only use of const_cast outside of
|
| return (raw_obj == minimal_element_class_) || (raw_obj == element_class_); |
| } |