| Index: src/arm/assembler-arm.h
|
| diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h
|
| index 9050c2c5d9bb33a5fdae1ffee14076f2f5b2a454..3ee7aab538c4115a4435ff682391f52dc7122f8d 100644
|
| --- a/src/arm/assembler-arm.h
|
| +++ b/src/arm/assembler-arm.h
|
| @@ -1166,6 +1166,10 @@ class Assembler : public AssemblerBase {
|
| // Mark address of a debug break slot.
|
| void RecordDebugBreakSlot();
|
|
|
| + // Record the AST id of the CallIC being compiled, so that it can be placed
|
| + // in the relocation information.
|
| + void RecordAstId(unsigned ast_id) { ast_id_for_reloc_info_ = ast_id; }
|
| +
|
| // Record a comment relocation entry that can be used by a disassembler.
|
| // Use --code-comments to enable.
|
| void RecordComment(const char* msg);
|
| @@ -1223,6 +1227,11 @@ class Assembler : public AssemblerBase {
|
| void CheckConstPool(bool force_emit, bool require_jump);
|
|
|
| protected:
|
| + // Relocation for a type-recording IC has the AST id added to it. This
|
| + // member variable is a way to pass the information from the call site to
|
| + // the relocation info.
|
| + unsigned ast_id_for_reloc_info_;
|
| +
|
| bool emit_debug_code() const { return emit_debug_code_; }
|
|
|
| int buffer_space() const { return reloc_info_writer.pos() - pc_; }
|
| @@ -1322,6 +1331,7 @@ class Assembler : public AssemblerBase {
|
| RelocInfo prinfo_[kMaxNumPRInfo]; // the buffer of pending relocation info
|
| int num_prinfo_; // number of pending reloc info entries in the buffer
|
|
|
| +
|
| // The bound position, before this we cannot do instruction elimination.
|
| int last_bound_pos_;
|
|
|
|
|