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

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

Issue 23478031: Improve code generation for the HRandom instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comment. 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 | « src/arm/lithium-codegen-arm.cc ('k') | 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void DoDeferredNumberTagD(LNumberTagD* instr); 159 void DoDeferredNumberTagD(LNumberTagD* instr);
160 160
161 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; 161 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
162 void DoDeferredNumberTagI(LInstruction* instr, 162 void DoDeferredNumberTagI(LInstruction* instr,
163 LOperand* value, 163 LOperand* value,
164 IntegerSignedness signedness); 164 IntegerSignedness signedness);
165 165
166 void DoDeferredTaggedToI(LTaggedToI* instr, Label* done); 166 void DoDeferredTaggedToI(LTaggedToI* instr, Label* done);
167 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); 167 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr);
168 void DoDeferredStackCheck(LStackCheck* instr); 168 void DoDeferredStackCheck(LStackCheck* instr);
169 void DoDeferredRandom(LRandom* instr);
170 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 169 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
171 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 170 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
172 void DoDeferredAllocate(LAllocate* instr); 171 void DoDeferredAllocate(LAllocate* instr);
173 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 172 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
174 Label* map_check); 173 Label* map_check);
175 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); 174 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object);
176 175
177 // Parallel move support. 176 // Parallel move support.
178 void DoParallelMove(LParallelMove* move); 177 void DoParallelMove(LParallelMove* move);
179 void DoGap(LGap* instr); 178 void DoGap(LGap* instr);
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 Label exit_; 565 Label exit_;
567 Label* external_exit_; 566 Label* external_exit_;
568 Label done_; 567 Label done_;
569 int instruction_index_; 568 int instruction_index_;
570 LCodeGen::X87Stack x87_stack_; 569 LCodeGen::X87Stack x87_stack_;
571 }; 570 };
572 571
573 } } // namespace v8::internal 572 } } // namespace v8::internal
574 573
575 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 574 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698