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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 Memory::Address_at(pc_) = address; | 248 Memory::Address_at(pc_) = address; |
249 if (mode == UPDATE_WRITE_BARRIER && host() != NULL) { | 249 if (mode == UPDATE_WRITE_BARRIER && host() != NULL) { |
250 // TODO(1550) We are passing NULL as a slot because cell can never be on | 250 // TODO(1550) We are passing NULL as a slot because cell can never be on |
251 // evacuation candidate. | 251 // evacuation candidate. |
252 host()->GetHeap()->incremental_marking()->RecordWrite( | 252 host()->GetHeap()->incremental_marking()->RecordWrite( |
253 host(), NULL, cell); | 253 host(), NULL, cell); |
254 } | 254 } |
255 } | 255 } |
256 | 256 |
257 | 257 |
258 static const int kNoCodeAgeSequenceLength = 7; | 258 static const int kNoCodeAgeSequenceLength = 7 * Assembler::kInstrSize; |
259 | 259 |
260 | 260 |
261 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { | 261 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { |
262 UNREACHABLE(); // This should never be reached on Arm. | 262 UNREACHABLE(); // This should never be reached on Arm. |
263 return Handle<Object>(); | 263 return Handle<Object>(); |
264 } | 264 } |
265 | 265 |
266 | 266 |
267 Code* RelocInfo::code_age_stub() { | 267 Code* RelocInfo::code_age_stub() { |
268 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE); | 268 ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE); |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 } | 422 } |
423 *reinterpret_cast<Instr*>(pc_) = x; | 423 *reinterpret_cast<Instr*>(pc_) = x; |
424 pc_ += kInstrSize; | 424 pc_ += kInstrSize; |
425 CheckTrampolinePoolQuick(); | 425 CheckTrampolinePoolQuick(); |
426 } | 426 } |
427 | 427 |
428 | 428 |
429 } } // namespace v8::internal | 429 } } // namespace v8::internal |
430 | 430 |
431 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 431 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ |
OLD | NEW |