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

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 24277002: Make the use of xmm0 as double scratch register explicit in ia32 and x64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/ia32/lithium-codegen-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 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool is_aborted() const { return status_ == ABORTED; } 201 bool is_aborted() const { return status_ == ABORTED; }
202 202
203 StrictModeFlag strict_mode_flag() const { 203 StrictModeFlag strict_mode_flag() const {
204 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode; 204 return info()->is_classic_mode() ? kNonStrictMode : kStrictMode;
205 } 205 }
206 206
207 LPlatformChunk* chunk() const { return chunk_; } 207 LPlatformChunk* chunk() const { return chunk_; }
208 Scope* scope() const { return scope_; } 208 Scope* scope() const { return scope_; }
209 HGraph* graph() const { return chunk()->graph(); } 209 HGraph* graph() const { return chunk()->graph(); }
210 210
211 XMMRegister double_scratch0() const { return xmm0; }
212
211 int GetNextEmittedBlock() const; 213 int GetNextEmittedBlock() const;
212 214
213 void EmitClassOfTest(Label* if_true, 215 void EmitClassOfTest(Label* if_true,
214 Label* if_false, 216 Label* if_false,
215 Handle<String> class_name, 217 Handle<String> class_name,
216 Register input, 218 Register input,
217 Register temporary, 219 Register temporary,
218 Register temporary2); 220 Register temporary2);
219 221
220 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 222 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 Label exit_; 567 Label exit_;
566 Label* external_exit_; 568 Label* external_exit_;
567 Label done_; 569 Label done_;
568 int instruction_index_; 570 int instruction_index_;
569 LCodeGen::X87Stack x87_stack_; 571 LCodeGen::X87Stack x87_stack_;
570 }; 572 };
571 573
572 } } // namespace v8::internal 574 } } // namespace v8::internal
573 575
574 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 576 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698