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

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

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

Powered by Google App Engine
This is Rietveld 408576698