| Index: src/mips/assembler-mips.h
|
| diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
|
| index c116c13bcddfc746f8c2473fa4ce98e3ea6dd0e4..ff05aab1875d7bb8a9f8fb099195705969ac1328 100644
|
| --- a/src/mips/assembler-mips.h
|
| +++ b/src/mips/assembler-mips.h
|
| @@ -500,16 +500,19 @@
|
| ICacheFlushMode icache_flush_mode =
|
| FLUSH_ICACHE_IF_NEEDED);
|
| // On MIPS there is no Constant Pool so we skip that parameter.
|
| - INLINE(static Address target_address_at(Address pc, Address constant_pool)) {
|
| + INLINE(static Address target_address_at(Address pc,
|
| + ConstantPoolArray* constant_pool)) {
|
| return target_address_at(pc);
|
| }
|
| - INLINE(static void set_target_address_at(
|
| - Address pc, Address constant_pool, Address target,
|
| - ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)) {
|
| + INLINE(static void set_target_address_at(Address pc,
|
| + ConstantPoolArray* constant_pool,
|
| + Address target,
|
| + ICacheFlushMode icache_flush_mode =
|
| + FLUSH_ICACHE_IF_NEEDED)) {
|
| set_target_address_at(pc, target, icache_flush_mode);
|
| }
|
| INLINE(static Address target_address_at(Address pc, Code* code)) {
|
| - Address constant_pool = code ? code->constant_pool() : NULL;
|
| + ConstantPoolArray* constant_pool = code ? code->constant_pool() : NULL;
|
| return target_address_at(pc, constant_pool);
|
| }
|
| INLINE(static void set_target_address_at(Address pc,
|
| @@ -517,7 +520,7 @@
|
| Address target,
|
| ICacheFlushMode icache_flush_mode =
|
| FLUSH_ICACHE_IF_NEEDED)) {
|
| - Address constant_pool = code ? code->constant_pool() : NULL;
|
| + ConstantPoolArray* constant_pool = code ? code->constant_pool() : NULL;
|
| set_target_address_at(pc, constant_pool, target, icache_flush_mode);
|
| }
|
|
|
| @@ -1078,8 +1081,6 @@
|
| // inline tables, e.g., jump-tables.
|
| void db(uint8_t data);
|
| void dd(uint32_t data);
|
| - void dq(uint64_t data);
|
| - void dp(uintptr_t data) { dd(data); }
|
| void dd(Label* label);
|
|
|
| // Emits the address of the code stub's first instruction.
|
| @@ -1164,12 +1165,11 @@
|
|
|
| void CheckTrampolinePool();
|
|
|
| - void PatchConstantPoolAccessInstruction(int pc_offset, int offset,
|
| - ConstantPoolEntry::Access access,
|
| - ConstantPoolEntry::Type type) {
|
| - // No embedded constant pool support.
|
| - UNREACHABLE();
|
| - }
|
| + // Allocate a constant pool of the correct size for the generated code.
|
| + Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate);
|
| +
|
| + // Generate the constant pool for the generated code.
|
| + void PopulateConstantPool(ConstantPoolArray* constant_pool);
|
|
|
| protected:
|
| // Relocation for a type-recording IC has the AST id added to it. This
|
|
|