Chromium Code Reviews| Index: src/objects-inl.h |
| =================================================================== |
| --- src/objects-inl.h (revision 9328) |
| +++ src/objects-inl.h (working copy) |
| @@ -3848,9 +3848,8 @@ |
| } |
| -bool Code::contains(byte* pc) { |
| - return (instruction_start() <= pc) && |
| - (pc <= instruction_start() + instruction_size()); |
| +bool Code::contains(byte* inner_pointer) { |
| + return (address() <= inner_pointer) && (inner_pointer <= address() + Size()); |
| } |