| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 2841)
|
| +++ src/objects.h (working copy)
|
| @@ -2634,8 +2634,8 @@
|
| // the layout of the code object into account.
|
| int ExecutableSize() {
|
| // Check that the assumptions about the layout of the code object holds.
|
| - ASSERT_EQ(instruction_start() - address(),
|
| - static_cast<intptr_t>(Code::kHeaderSize));
|
| + ASSERT_EQ(static_cast<int>(instruction_start() - address()),
|
| + Code::kHeaderSize);
|
| return instruction_size() + Code::kHeaderSize;
|
| }
|
|
|
|
|