Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 1380) |
+++ src/objects-inl.h (working copy) |
@@ -2281,7 +2281,7 @@ |
byte* Code::relocation_start() { |
- return FIELD_ADDR(this, CodeSize() - sinfo_size() - relocation_size()); |
+ return FIELD_ADDR(this, kHeaderSize + instruction_size()); |
} |
@@ -2297,7 +2297,7 @@ |
byte* Code::sinfo_start() { |
- return FIELD_ADDR(this, CodeSize() - sinfo_size()); |
+ return FIELD_ADDR(this, kHeaderSize + body_size()); |
} |