| 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 |     5 // modification, are permitted provided that the following conditions | 
|     6 // are met: |     6 // are 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 2177 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2188  |  2188  | 
|  2189 void Assembler::RecordComment(const char* msg) { |  2189 void Assembler::RecordComment(const char* msg) { | 
|  2190   if (FLAG_code_comments) { |  2190   if (FLAG_code_comments) { | 
|  2191     CheckBuffer(); |  2191     CheckBuffer(); | 
|  2192     RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); |  2192     RecordRelocInfo(RelocInfo::COMMENT, reinterpret_cast<intptr_t>(msg)); | 
|  2193   } |  2193   } | 
|  2194 } |  2194 } | 
|  2195  |  2195  | 
|  2196  |  2196  | 
|  2197 void Assembler::RecordDeoptReason(const int reason, const int raw_position) { |  2197 void Assembler::RecordDeoptReason(const int reason, const int raw_position) { | 
|  2198   if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling()) { |  2198   if (FLAG_trace_deopt) { | 
|  2199     EnsureSpace ensure_space(this); |  2199     EnsureSpace ensure_space(this); | 
|  2200     RecordRelocInfo(RelocInfo::POSITION, raw_position); |  2200     RecordRelocInfo(RelocInfo::POSITION, raw_position); | 
|  2201     RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); |  2201     RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); | 
|  2202   } |  2202   } | 
|  2203 } |  2203 } | 
|  2204  |  2204  | 
|  2205  |  2205  | 
|  2206 void Assembler::GrowBuffer() { |  2206 void Assembler::GrowBuffer() { | 
|  2207   if (!own_buffer_) FATAL("external code buffer is too small"); |  2207   if (!own_buffer_) FATAL("external code buffer is too small"); | 
|  2208  |  2208  | 
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2553  |  2553  | 
|  2554     // Patch load instruction with correct offset. |  2554     // Patch load instruction with correct offset. | 
|  2555     Assembler::SetConstantPoolOffset(rinfo.pc(), offset); |  2555     Assembler::SetConstantPoolOffset(rinfo.pc(), offset); | 
|  2556   } |  2556   } | 
|  2557 } |  2557 } | 
|  2558 #endif |  2558 #endif | 
|  2559 } |  2559 } | 
|  2560 }  // namespace v8::internal |  2560 }  // namespace v8::internal | 
|  2561  |  2561  | 
|  2562 #endif  // V8_TARGET_ARCH_PPC |  2562 #endif  // V8_TARGET_ARCH_PPC | 
| OLD | NEW |