Skip to content

Commit

Permalink
Don't make it const when we return this
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Aug 22, 2012
1 parent 4dc26c9 commit 3e2eb64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/src/objects/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ class Object
bool isMethodContext() const { return CompactClass::isMethodContextHeader(baseHeader); }
bool hasContextHeader() const { return CompactClass::isContextHeader(baseHeader); }
bool hasSender(Oop) const;
Object_p home_of_block_or_method_context() const {
Object_p home_of_block_or_method_context() {
return is_this_context_a_block_context() ? fetchPointer(Object_Indices::HomeIndex).as_object() : (Object_p)this;
}
Oop key_at_identity_value(Oop);
Expand Down

0 comments on commit 3e2eb64

Please sign in to comment.