| Index: src/assembler.h
|
| ===================================================================
|
| --- src/assembler.h (revision 4699)
|
| +++ src/assembler.h (working copy)
|
| @@ -121,7 +121,6 @@
|
| DEBUG_BREAK,
|
| CODE_TARGET, // code target which is not any of the above.
|
| EMBEDDED_OBJECT,
|
| - EMBEDDED_STRING,
|
|
|
| // Everything after runtime_entry (inclusive) is not GC'ed.
|
| RUNTIME_ENTRY,
|
| @@ -137,7 +136,7 @@
|
| NUMBER_OF_MODES, // must be no greater than 14 - see RelocInfoWriter
|
| NONE, // never recorded
|
| LAST_CODE_ENUM = CODE_TARGET,
|
| - LAST_GCED_ENUM = EMBEDDED_STRING
|
| + LAST_GCED_ENUM = EMBEDDED_OBJECT
|
| };
|
|
|
|
|
| @@ -185,6 +184,11 @@
|
| // Apply a relocation by delta bytes
|
| INLINE(void apply(intptr_t delta));
|
|
|
| + // Is the pointer this relocation info refers to coded like a plain pointer
|
| + // or is it strange in some way (eg relative or patched into a series of
|
| + // instructions).
|
| + bool IsCodedSpecially();
|
| +
|
| // Read/modify the code target in the branch/call instruction
|
| // this relocation applies to;
|
| // can only be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY
|
|
|