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

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

Issue 3792003: Optimizing HandleScope. Also fixed HandleScope destruction when API getter th... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 2 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/handles-inl.h ('k') | src/ia32/code-stubs-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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 // Note: The same Label can be used for forward and backward branches 688 // Note: The same Label can be used for forward and backward branches
689 // but it may be bound only once. 689 // but it may be bound only once.
690 690
691 void bind(Label* L); // binds an unbound label L to the current code position 691 void bind(Label* L); // binds an unbound label L to the current code position
692 void bind(NearLabel* L); 692 void bind(NearLabel* L);
693 693
694 // Calls 694 // Calls
695 void call(Label* L); 695 void call(Label* L);
696 void call(byte* entry, RelocInfo::Mode rmode); 696 void call(byte* entry, RelocInfo::Mode rmode);
697 void call(const Operand& adr); 697 void call(const Operand& adr);
698 void call(const ExternalReference& target);
699 void call(Handle<Code> code, RelocInfo::Mode rmode); 698 void call(Handle<Code> code, RelocInfo::Mode rmode);
700 699
701 // Jumps 700 // Jumps
702 void jmp(Label* L); // unconditional jump to L 701 void jmp(Label* L); // unconditional jump to L
703 void jmp(byte* entry, RelocInfo::Mode rmode); 702 void jmp(byte* entry, RelocInfo::Mode rmode);
704 void jmp(const Operand& adr); 703 void jmp(const Operand& adr);
705 void jmp(Handle<Code> code, RelocInfo::Mode rmode); 704 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
706 705
707 // Short jump 706 // Short jump
708 void jmp(NearLabel* L); 707 void jmp(NearLabel* L);
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 private: 978 private:
980 Assembler* assembler_; 979 Assembler* assembler_;
981 #ifdef DEBUG 980 #ifdef DEBUG
982 int space_before_; 981 int space_before_;
983 #endif 982 #endif
984 }; 983 };
985 984
986 } } // namespace v8::internal 985 } } // namespace v8::internal
987 986
988 #endif // V8_IA32_ASSEMBLER_IA32_H_ 987 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/handles-inl.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698