Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: src/ia32/assembler-ia32.cc

Issue 113640: Fix unmotivated change which causes mismatch between function... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698