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

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

Issue 7348008: Merge up to 8597 to experimental/gc from the bleeding edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 5 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 | « src/ia32/assembler-ia32.h ('k') | src/ia32/builtins-ia32.cc » ('j') | 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 } 455 }
456 456
457 457
458 void Assembler::push(const Operand& src) { 458 void Assembler::push(const Operand& src) {
459 EnsureSpace ensure_space(this); 459 EnsureSpace ensure_space(this);
460 EMIT(0xFF); 460 EMIT(0xFF);
461 emit_operand(esi, src); 461 emit_operand(esi, src);
462 } 462 }
463 463
464 464
465 void Assembler::push(Handle<Object> handle) {
466 EnsureSpace ensure_space(this);
467 EMIT(0x68);
468 emit(handle);
469 }
470
471
465 void Assembler::pop(Register dst) { 472 void Assembler::pop(Register dst) {
466 ASSERT(reloc_info_writer.last_pc() != NULL); 473 ASSERT(reloc_info_writer.last_pc() != NULL);
467 EnsureSpace ensure_space(this); 474 EnsureSpace ensure_space(this);
468 EMIT(0x58 | dst.code()); 475 EMIT(0x58 | dst.code());
469 } 476 }
470 477
471 478
472 void Assembler::pop(const Operand& dst) { 479 void Assembler::pop(const Operand& dst) {
473 EnsureSpace ensure_space(this); 480 EnsureSpace ensure_space(this);
474 EMIT(0x8F); 481 EMIT(0x8F);
(...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 fprintf(coverage_log, "%s\n", file_line); 2493 fprintf(coverage_log, "%s\n", file_line);
2487 fflush(coverage_log); 2494 fflush(coverage_log);
2488 } 2495 }
2489 } 2496 }
2490 2497
2491 #endif 2498 #endif
2492 2499
2493 } } // namespace v8::internal 2500 } } // namespace v8::internal
2494 2501
2495 #endif // V8_TARGET_ARCH_IA32 2502 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698