| Index: src/assembler.h
|
| diff --git a/src/assembler.h b/src/assembler.h
|
| index 890ef69dbbdb37d0473ffc903649bef24e688bba..9e3c397229c2f871c79a7d9306033d6dd2120868 100644
|
| --- a/src/assembler.h
|
| +++ b/src/assembler.h
|
| @@ -409,6 +409,12 @@ class RelocInfo BASE_EMBEDDED {
|
| // debugger.
|
| INLINE(bool IsPatchedDebugBreakSlotSequence());
|
|
|
| +#ifdef DEBUG
|
| + // Check whether the given code contains relocation information that
|
| + // either is position-relative or movable by the garbage collector.
|
| + static bool RequiresRelocation(const CodeDesc& desc);
|
| +#endif
|
| +
|
| #ifdef ENABLE_DISASSEMBLER
|
| // Printing
|
| static const char* RelocModeName(Mode rmode);
|
|
|