| Index: runtime/vm/runtime_entry.h
|
| diff --git a/runtime/vm/runtime_entry.h b/runtime/vm/runtime_entry.h
|
| index 97b56235ca77b96647639d4639b117bab6916888..4004e4f0ae8736b1980a095238d3703972f5dbde 100644
|
| --- a/runtime/vm/runtime_entry.h
|
| +++ b/runtime/vm/runtime_entry.h
|
| @@ -45,8 +45,7 @@ class RuntimeEntry : public ValueObject {
|
| is_leaf_(is_leaf),
|
| is_float_(is_float),
|
| next_(NULL) {
|
| - // Strip off const for registration.
|
| - VMTag::RegisterRuntimeEntry(const_cast<RuntimeEntry*>(this));
|
| + VMTag::RegisterRuntimeEntry(this);
|
| }
|
| ~RuntimeEntry() {}
|
|
|
|
|