OLD | NEW |
1 | 1 |
2 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 2 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
3 // All Rights Reserved. | 3 // All Rights Reserved. |
4 // | 4 // |
5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
7 // met: | 7 // met: |
8 // | 8 // |
9 // - Redistributions of source code must retain the above copyright notice, | 9 // - Redistributions of source code must retain the above copyright notice, |
10 // this list of conditions and the following disclaimer. | 10 // this list of conditions and the following disclaimer. |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // TODO(1550) We are passing NULL as a slot because cell can never be on | 254 // TODO(1550) We are passing NULL as a slot because cell can never be on |
255 // evacuation candidate. | 255 // evacuation candidate. |
256 host()->GetHeap()->incremental_marking()->RecordWrite( | 256 host()->GetHeap()->incremental_marking()->RecordWrite( |
257 host(), NULL, cell); | 257 host(), NULL, cell); |
258 } | 258 } |
259 } | 259 } |
260 | 260 |
261 | 261 |
262 static const int kNoCodeAgeSequenceLength = 7; | 262 static const int kNoCodeAgeSequenceLength = 7; |
263 | 263 |
| 264 |
| 265 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { |
| 266 UNREACHABLE(); // This should never be reached on Arm. |
| 267 return Handle<Object>(); |
| 268 } |
| 269 |
| 270 |
264 Code* RelocInfo::code_age_stub() { | 271 Code* RelocInfo::code_age_stub() { |
265 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE); | 272 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE); |
266 return Code::GetCodeFromTargetAddress( | 273 return Code::GetCodeFromTargetAddress( |
267 Memory::Address_at(pc_ + Assembler::kInstrSize * | 274 Memory::Address_at(pc_ + Assembler::kInstrSize * |
268 (kNoCodeAgeSequenceLength - 1))); | 275 (kNoCodeAgeSequenceLength - 1))); |
269 } | 276 } |
270 | 277 |
271 | 278 |
272 void RelocInfo::set_code_age_stub(Code* stub) { | 279 void RelocInfo::set_code_age_stub(Code* stub) { |
273 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE); | 280 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 } | 422 } |
416 *reinterpret_cast<Instr*>(pc_) = x; | 423 *reinterpret_cast<Instr*>(pc_) = x; |
417 pc_ += kInstrSize; | 424 pc_ += kInstrSize; |
418 CheckTrampolinePoolQuick(); | 425 CheckTrampolinePoolQuick(); |
419 } | 426 } |
420 | 427 |
421 | 428 |
422 } } // namespace v8::internal | 429 } } // namespace v8::internal |
423 | 430 |
424 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 431 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ |
OLD | NEW |