OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 visitor->VisitEmbeddedPointer(this); | 264 visitor->VisitEmbeddedPointer(this); |
265 } else if (RelocInfo::IsCodeTarget(mode)) { | 265 } else if (RelocInfo::IsCodeTarget(mode)) { |
266 visitor->VisitCodeTarget(this); | 266 visitor->VisitCodeTarget(this); |
267 } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { | 267 } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { |
268 visitor->VisitGlobalPropertyCell(this); | 268 visitor->VisitGlobalPropertyCell(this); |
269 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) { | 269 } else if (mode == RelocInfo::EXTERNAL_REFERENCE) { |
270 visitor->VisitExternalReference(target_reference_address()); | 270 visitor->VisitExternalReference(target_reference_address()); |
271 #ifdef ENABLE_DEBUGGER_SUPPORT | 271 #ifdef ENABLE_DEBUGGER_SUPPORT |
272 // TODO(isolates): Get a cached isolate below. | 272 // TODO(isolates): Get a cached isolate below. |
273 } else if (((RelocInfo::IsJSReturn(mode) && | 273 } else if (((RelocInfo::IsJSReturn(mode) && |
274 IsPatchedReturnSequence()) || | 274 IsPatchedReturnSequence()) || |
275 (RelocInfo::IsDebugBreakSlot(mode) && | 275 (RelocInfo::IsDebugBreakSlot(mode) && |
276 IsPatchedDebugBreakSlotSequence())) && | 276 IsPatchedDebugBreakSlotSequence())) && |
277 Isolate::Current()->debug()->has_break_points()) { | 277 Isolate::Current()->debug()->has_break_points()) { |
278 visitor->VisitDebugTarget(this); | 278 visitor->VisitDebugTarget(this); |
279 #endif | 279 #endif |
280 } else if (mode == RelocInfo::RUNTIME_ENTRY) { | 280 } else if (mode == RelocInfo::RUNTIME_ENTRY) { |
281 visitor->VisitRuntimeEntry(this); | 281 visitor->VisitRuntimeEntry(this); |
282 } | 282 } |
283 } | 283 } |
284 | 284 |
285 | 285 |
286 template<typename StaticVisitor> | 286 template<typename StaticVisitor> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 } | 332 } |
333 *reinterpret_cast<Instr*>(pc_) = x; | 333 *reinterpret_cast<Instr*>(pc_) = x; |
334 pc_ += kInstrSize; | 334 pc_ += kInstrSize; |
335 CheckTrampolinePoolQuick(); | 335 CheckTrampolinePoolQuick(); |
336 } | 336 } |
337 | 337 |
338 | 338 |
339 } } // namespace v8::internal | 339 } } // namespace v8::internal |
340 | 340 |
341 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 341 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ |
OLD | NEW |