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

Side by Side Diff: src/codegen.h

Issue 1787005: Avoid constant pool blocking for too long... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 const char* comment() const { return ""; } 205 const char* comment() const { return ""; }
206 #endif 206 #endif
207 207
208 inline void Jump(); 208 inline void Jump();
209 inline void Branch(Condition cc); 209 inline void Branch(Condition cc);
210 void BindExit() { masm_->bind(&exit_label_); } 210 void BindExit() { masm_->bind(&exit_label_); }
211 211
212 void SaveRegisters(); 212 void SaveRegisters();
213 void RestoreRegisters(); 213 void RestoreRegisters();
214 214
215 virtual void BeforeGenerate() { }
216 virtual void AfterGenerate() { }
217
218 protected: 215 protected:
219 MacroAssembler* masm_; 216 MacroAssembler* masm_;
220 217
221 private: 218 private:
222 // Constants indicating special actions. They should not be multiples 219 // Constants indicating special actions. They should not be multiples
223 // of kPointerSize so they will not collide with valid offsets from 220 // of kPointerSize so they will not collide with valid offsets from
224 // the frame pointer. 221 // the frame pointer.
225 static const int kIgnore = -1; 222 static const int kIgnore = -1;
226 static const int kPush = 1; 223 static const int kPush = 1;
227 224
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 private: 608 private:
612 Major MajorKey() { return ToBoolean; } 609 Major MajorKey() { return ToBoolean; }
613 int MinorKey() { return 0; } 610 int MinorKey() { return 0; }
614 }; 611 };
615 612
616 613
617 } // namespace internal 614 } // namespace internal
618 } // namespace v8 615 } // namespace v8
619 616
620 #endif // V8_CODEGEN_H_ 617 #endif // V8_CODEGEN_H_
OLDNEW
« src/arm/codegen-arm.cc ('K') | « src/arm/codegen-arm.cc ('k') | src/codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698