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

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

Issue 7134014: Stop using with explicitly to implement try/catch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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
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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 } 442 }
443 443
444 444
445 void Assembler::push(const Operand& src) { 445 void Assembler::push(const Operand& src) {
446 EnsureSpace ensure_space(this); 446 EnsureSpace ensure_space(this);
447 EMIT(0xFF); 447 EMIT(0xFF);
448 emit_operand(esi, src); 448 emit_operand(esi, src);
449 } 449 }
450 450
451 451
452 void Assembler::push(Handle<Object> handle) {
453 EnsureSpace ensure_space(this);
454 EMIT(0x68);
455 emit(handle);
456 }
457
458
452 void Assembler::pop(Register dst) { 459 void Assembler::pop(Register dst) {
453 ASSERT(reloc_info_writer.last_pc() != NULL); 460 ASSERT(reloc_info_writer.last_pc() != NULL);
454 EnsureSpace ensure_space(this); 461 EnsureSpace ensure_space(this);
455 EMIT(0x58 | dst.code()); 462 EMIT(0x58 | dst.code());
456 } 463 }
457 464
458 465
459 void Assembler::pop(const Operand& dst) { 466 void Assembler::pop(const Operand& dst) {
460 EnsureSpace ensure_space(this); 467 EnsureSpace ensure_space(this);
461 EMIT(0x8F); 468 EMIT(0x8F);
(...skipping 2016 matching lines...) Expand 10 before | Expand all | Expand 10 after
2478 fprintf(coverage_log, "%s\n", file_line); 2485 fprintf(coverage_log, "%s\n", file_line);
2479 fflush(coverage_log); 2486 fflush(coverage_log);
2480 } 2487 }
2481 } 2488 }
2482 2489
2483 #endif 2490 #endif
2484 2491
2485 } } // namespace v8::internal 2492 } } // namespace v8::internal
2486 2493
2487 #endif // V8_TARGET_ARCH_IA32 2494 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/parser.h » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698