| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 5284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5295 And(bitmap_scratch, bitmap_scratch, Operand(~Page::kPageAlignmentMask)); | 5295 And(bitmap_scratch, bitmap_scratch, Operand(~Page::kPageAlignmentMask)); |
| 5296 lw(t8, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); | 5296 lw(t8, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); |
| 5297 Addu(t8, t8, Operand(length)); | 5297 Addu(t8, t8, Operand(length)); |
| 5298 sw(t8, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); | 5298 sw(t8, MemOperand(bitmap_scratch, MemoryChunk::kLiveBytesOffset)); |
| 5299 | 5299 |
| 5300 bind(&done); | 5300 bind(&done); |
| 5301 } | 5301 } |
| 5302 | 5302 |
| 5303 | 5303 |
| 5304 void MacroAssembler::LoadInstanceDescriptors(Register map, | 5304 void MacroAssembler::LoadInstanceDescriptors(Register map, |
| 5305 Register descriptors, | 5305 Register descriptors) { |
| 5306 Register scratch) { | |
| 5307 lw(descriptors, FieldMemOperand(map, Map::kDescriptorsOffset)); | 5306 lw(descriptors, FieldMemOperand(map, Map::kDescriptorsOffset)); |
| 5308 } | 5307 } |
| 5309 | 5308 |
| 5310 | 5309 |
| 5311 void MacroAssembler::NumberOfOwnDescriptors(Register dst, Register map) { | 5310 void MacroAssembler::NumberOfOwnDescriptors(Register dst, Register map) { |
| 5312 lw(dst, FieldMemOperand(map, Map::kBitField3Offset)); | 5311 lw(dst, FieldMemOperand(map, Map::kBitField3Offset)); |
| 5313 DecodeField<Map::NumberOfOwnDescriptorsBits>(dst); | 5312 DecodeField<Map::NumberOfOwnDescriptorsBits>(dst); |
| 5314 } | 5313 } |
| 5315 | 5314 |
| 5316 | 5315 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5459 opcode == BGTZL); | 5458 opcode == BGTZL); |
| 5460 opcode = (cond == eq) ? BEQ : BNE; | 5459 opcode = (cond == eq) ? BEQ : BNE; |
| 5461 instr = (instr & ~kOpcodeMask) | opcode; | 5460 instr = (instr & ~kOpcodeMask) | opcode; |
| 5462 masm_.emit(instr); | 5461 masm_.emit(instr); |
| 5463 } | 5462 } |
| 5464 | 5463 |
| 5465 | 5464 |
| 5466 } } // namespace v8::internal | 5465 } } // namespace v8::internal |
| 5467 | 5466 |
| 5468 #endif // V8_TARGET_ARCH_MIPS | 5467 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |