| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 347   desc->buffer = buffer_; | 347   desc->buffer = buffer_; | 
| 348   desc->buffer_size = buffer_size_; | 348   desc->buffer_size = buffer_size_; | 
| 349   desc->instr_size = pc_offset(); | 349   desc->instr_size = pc_offset(); | 
| 350   desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); | 350   desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); | 
| 351   desc->origin = this; | 351   desc->origin = this; | 
| 352 | 352 | 
| 353   Counters::reloc_info_size.Increment(desc->reloc_size); | 353   Counters::reloc_info_size.Increment(desc->reloc_size); | 
| 354 } | 354 } | 
| 355 | 355 | 
| 356 | 356 | 
| 357 void Assembler::Align(intptr_t m) { | 357 void Assembler::Align(int m) { | 
| 358   ASSERT(IsPowerOf2(m)); | 358   ASSERT(IsPowerOf2(m)); | 
| 359   while ((pc_offset() & (m - 1)) != 0) { | 359   while ((pc_offset() & (m - 1)) != 0) { | 
| 360     nop(); | 360     nop(); | 
| 361   } | 361   } | 
| 362 } | 362 } | 
| 363 | 363 | 
| 364 | 364 | 
| 365 void Assembler::cpuid() { | 365 void Assembler::cpuid() { | 
| 366   ASSERT(CpuFeatures::IsEnabled(CpuFeatures::CPUID)); | 366   ASSERT(CpuFeatures::IsEnabled(CpuFeatures::CPUID)); | 
| 367   EnsureSpace ensure_space(this); | 367   EnsureSpace ensure_space(this); | 
| (...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2217   push_insn[1] = 13;    // Skip over coverage insns. | 2217   push_insn[1] = 13;    // Skip over coverage insns. | 
| 2218   if (coverage_log != NULL) { | 2218   if (coverage_log != NULL) { | 
| 2219     fprintf(coverage_log, "%s\n", file_line); | 2219     fprintf(coverage_log, "%s\n", file_line); | 
| 2220     fflush(coverage_log); | 2220     fflush(coverage_log); | 
| 2221   } | 2221   } | 
| 2222 } | 2222 } | 
| 2223 | 2223 | 
| 2224 #endif | 2224 #endif | 
| 2225 | 2225 | 
| 2226 } }  // namespace v8::internal | 2226 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|