| Index: src/assembler-ia32.cc
|
| ===================================================================
|
| --- src/assembler-ia32.cc (revision 343)
|
| +++ src/assembler-ia32.cc (working copy)
|
| @@ -2036,9 +2036,9 @@
|
| reloc_info_writer.Write(&rinfo);
|
| }
|
|
|
| -void Assembler::WriteInternalReference(int position, Label &bound_label) {
|
| +void Assembler::WriteInternalReference(int position, const Label& bound_label) {
|
| ASSERT(bound_label.is_bound());
|
| - ASSERT(0 <= position && position + (int)sizeof(uint32_t) <= pc_offset());
|
| + ASSERT(0 <= position && position + sizeof(uint32_t) <= pc_offset());
|
| ASSERT(long_at(position) == 0); // only initialize once!
|
|
|
| uint32_t label_loc = reinterpret_cast<uint32_t>(addr_at(bound_label.pos()));
|
|
|