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

Side by Side Diff: src/codegen.h

Issue 3054047: IA32: Avoid going into stubs or runtime code for bitops even if the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 4 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 | « no previous file | src/codegen.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 #endif 313 #endif
314 314
315 inline void Jump(); 315 inline void Jump();
316 inline void Branch(Condition cc); 316 inline void Branch(Condition cc);
317 void BindExit() { masm_->bind(&exit_label_); } 317 void BindExit() { masm_->bind(&exit_label_); }
318 318
319 const FrameRegisterState* frame_state() const { return &frame_state_; } 319 const FrameRegisterState* frame_state() const { return &frame_state_; }
320 320
321 void SaveRegisters(); 321 void SaveRegisters();
322 void RestoreRegisters(); 322 void RestoreRegisters();
323 void Exit();
324 virtual bool AutoSaveAndRestore() { return true; }
Lasse Reichstein 2010/08/06 08:20:12 I know it's not widespread in V8, but please add c
323 325
324 protected: 326 protected:
325 MacroAssembler* masm_; 327 MacroAssembler* masm_;
326 328
327 private: 329 private:
328 int statement_position_; 330 int statement_position_;
329 int position_; 331 int position_;
330 332
331 Label entry_label_; 333 Label entry_label_;
332 Label exit_label_; 334 Label exit_label_;
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 StringCharFromCodeGenerator char_from_code_generator_; 890 StringCharFromCodeGenerator char_from_code_generator_;
889 891
890 DISALLOW_COPY_AND_ASSIGN(StringCharAtGenerator); 892 DISALLOW_COPY_AND_ASSIGN(StringCharAtGenerator);
891 }; 893 };
892 894
893 895
894 } // namespace internal 896 } // namespace internal
895 } // namespace v8 897 } // namespace v8
896 898
897 #endif // V8_CODEGEN_H_ 899 #endif // V8_CODEGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/codegen.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698