| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 285   return patched_return; | 285   return patched_return; | 
| 286 } | 286 } | 
| 287 | 287 | 
| 288 | 288 | 
| 289 bool RelocInfo::IsPatchedDebugBreakSlotSequence() { | 289 bool RelocInfo::IsPatchedDebugBreakSlotSequence() { | 
| 290   Instr current_instr = Assembler::instr_at(pc_); | 290   Instr current_instr = Assembler::instr_at(pc_); | 
| 291   return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP); | 291   return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP); | 
| 292 } | 292 } | 
| 293 | 293 | 
| 294 | 294 | 
|  | 295 Code* RelocInfo::code_age_stub() { | 
|  | 296   UNIMPLEMENTED(); | 
|  | 297   return NULL; | 
|  | 298 } | 
|  | 299 | 
|  | 300 | 
|  | 301 void RelocInfo::set_code_age_stub(Code* stub) { | 
|  | 302   UNIMPLEMENTED(); | 
|  | 303 } | 
|  | 304 | 
|  | 305 | 
| 295 void RelocInfo::Visit(ObjectVisitor* visitor) { | 306 void RelocInfo::Visit(ObjectVisitor* visitor) { | 
| 296   RelocInfo::Mode mode = rmode(); | 307   RelocInfo::Mode mode = rmode(); | 
| 297   if (mode == RelocInfo::EMBEDDED_OBJECT) { | 308   if (mode == RelocInfo::EMBEDDED_OBJECT) { | 
| 298     visitor->VisitEmbeddedPointer(this); | 309     visitor->VisitEmbeddedPointer(this); | 
| 299   } else if (RelocInfo::IsCodeTarget(mode)) { | 310   } else if (RelocInfo::IsCodeTarget(mode)) { | 
| 300     visitor->VisitCodeTarget(this); | 311     visitor->VisitCodeTarget(this); | 
| 301   } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { | 312   } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { | 
| 302     visitor->VisitGlobalPropertyCell(this); | 313     visitor->VisitGlobalPropertyCell(this); | 
| 303   } else if (mode == RelocInfo::EXTERNAL_REFERENCE) { | 314   } else if (mode == RelocInfo::EXTERNAL_REFERENCE) { | 
| 304     visitor->VisitExternalReference(this); | 315     visitor->VisitExternalReference(this); | 
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 366   } | 377   } | 
| 367   *reinterpret_cast<Instr*>(pc_) = x; | 378   *reinterpret_cast<Instr*>(pc_) = x; | 
| 368   pc_ += kInstrSize; | 379   pc_ += kInstrSize; | 
| 369   CheckTrampolinePoolQuick(); | 380   CheckTrampolinePoolQuick(); | 
| 370 } | 381 } | 
| 371 | 382 | 
| 372 | 383 | 
| 373 } }  // namespace v8::internal | 384 } }  // namespace v8::internal | 
| 374 | 385 | 
| 375 #endif  // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 386 #endif  // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 
| OLD | NEW | 
|---|