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

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

Issue 11093074: Get rid of static module allocation, do it in code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed last comments; added other back-ends Created 8 years, 1 month 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/full-codegen-ia32.cc ('k') | src/interface.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 void CallSelf() { 781 void CallSelf() {
782 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); 782 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location()));
783 call(self, RelocInfo::CODE_TARGET); 783 call(self, RelocInfo::CODE_TARGET);
784 } 784 }
785 785
786 // Move if the registers are not identical. 786 // Move if the registers are not identical.
787 void Move(Register target, Register source); 787 void Move(Register target, Register source);
788 788
789 // Push a handle value. 789 // Push a handle value.
790 void Push(Handle<Object> handle) { push(Immediate(handle)); } 790 void Push(Handle<Object> handle) { push(Immediate(handle)); }
791 void Push(Smi* smi) { Push(Handle<Smi>(smi)); }
791 792
792 Handle<Object> CodeObject() { 793 Handle<Object> CodeObject() {
793 ASSERT(!code_object_.is_null()); 794 ASSERT(!code_object_.is_null());
794 return code_object_; 795 return code_object_;
795 } 796 }
796 797
797 798
798 // --------------------------------------------------------------------------- 799 // ---------------------------------------------------------------------------
799 // StatsCounter support 800 // StatsCounter support
800 801
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 } \ 999 } \
999 masm-> 1000 masm->
1000 #else 1001 #else
1001 #define ACCESS_MASM(masm) masm-> 1002 #define ACCESS_MASM(masm) masm->
1002 #endif 1003 #endif
1003 1004
1004 1005
1005 } } // namespace v8::internal 1006 } } // namespace v8::internal
1006 1007
1007 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1008 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698