| Index: src/ia32/assembler-ia32-inl.h
|
| diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h
|
| index 54cfb5c3861f3987a691ee886a35fdcbf990bee8..331c8375050fac85021c6d78342cee1b41ea815d 100644
|
| --- a/src/ia32/assembler-ia32-inl.h
|
| +++ b/src/ia32/assembler-ia32-inl.h
|
| @@ -300,8 +300,13 @@ void Assembler::emit(Handle<Object> handle) {
|
| }
|
|
|
|
|
| -void Assembler::emit(uint32_t x, RelocInfo::Mode rmode) {
|
| - if (rmode != RelocInfo::NONE) RecordRelocInfo(rmode);
|
| +void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, AstId id) {
|
| + if (rmode == RelocInfo::CODE_TARGET && id != kNoAstId) {
|
| + RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID,
|
| + static_cast<intptr_t>(id));
|
| + } else if (rmode != RelocInfo::NONE) {
|
| + RecordRelocInfo(rmode);
|
| + }
|
| emit(x);
|
| }
|
|
|
|
|