| Index: src/mips/macro-assembler-mips.h
|
| diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h
|
| index 5ff1c2d97bf2ba73794ceef2191cfdd9be3da2c5..6b2a5511ede802c56a502415026add091cdd2807 100644
|
| --- a/src/mips/macro-assembler-mips.h
|
| +++ b/src/mips/macro-assembler-mips.h
|
| @@ -102,25 +102,25 @@ bool AreAliased(Register r1, Register r2, Register r3, Register r4);
|
| // -----------------------------------------------------------------------------
|
| // Static helper functions.
|
|
|
| -static MemOperand ContextOperand(Register context, int index) {
|
| +inline MemOperand ContextOperand(Register context, int index) {
|
| return MemOperand(context, Context::SlotOffset(index));
|
| }
|
|
|
|
|
| -static inline MemOperand GlobalObjectOperand() {
|
| +inline MemOperand GlobalObjectOperand() {
|
| return ContextOperand(cp, Context::GLOBAL_INDEX);
|
| }
|
|
|
|
|
| // Generate a MemOperand for loading a field from an object.
|
| -static inline MemOperand FieldMemOperand(Register object, int offset) {
|
| +inline MemOperand FieldMemOperand(Register object, int offset) {
|
| return MemOperand(object, offset - kHeapObjectTag);
|
| }
|
|
|
|
|
| // Generate a MemOperand for storing arguments 5..N on the stack
|
| // when calling CallCFunction().
|
| -static inline MemOperand CFunctionArgumentOperand(int index) {
|
| +inline MemOperand CFunctionArgumentOperand(int index) {
|
| ASSERT(index > kCArgSlotCount);
|
| // Argument 5 takes the slot just past the four Arg-slots.
|
| int offset = (index - 5) * kPointerSize + kCArgsSlotsSize;
|
|
|