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

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

Issue 181053005: Push safepoint registers in deferred number-to-i/u only on-demand. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Indentation Created 6 years, 9 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-arm.cc ('k') | src/arm/lithium-codegen-arm.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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 bool GenerateCode(); 119 bool GenerateCode();
120 120
121 // Finish the code by setting stack height, safepoint, and bailout 121 // Finish the code by setting stack height, safepoint, and bailout
122 // information on it. 122 // information on it.
123 void FinishCode(Handle<Code> code); 123 void FinishCode(Handle<Code> code);
124 124
125 // Deferred code support. 125 // Deferred code support.
126 void DoDeferredNumberTagD(LNumberTagD* instr); 126 void DoDeferredNumberTagD(LNumberTagD* instr);
127 127
128 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; 128 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
129 void DoDeferredNumberTagI(LInstruction* instr, 129 void DoDeferredNumberTagIU(LInstruction* instr,
130 LOperand* value, 130 LOperand* value,
131 IntegerSignedness signedness); 131 LOperand* temp1,
132 LOperand* temp2,
133 IntegerSignedness signedness);
132 134
133 void DoDeferredTaggedToI(LTaggedToI* instr); 135 void DoDeferredTaggedToI(LTaggedToI* instr);
134 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); 136 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr);
135 void DoDeferredStackCheck(LStackCheck* instr); 137 void DoDeferredStackCheck(LStackCheck* instr);
136 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 138 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
137 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 139 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
138 void DoDeferredAllocate(LAllocate* instr); 140 void DoDeferredAllocate(LAllocate* instr);
139 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 141 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
140 Label* map_check); 142 Label* map_check);
141 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); 143 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object);
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 LCodeGen* codegen_; 461 LCodeGen* codegen_;
460 Label entry_; 462 Label entry_;
461 Label exit_; 463 Label exit_;
462 Label* external_exit_; 464 Label* external_exit_;
463 int instruction_index_; 465 int instruction_index_;
464 }; 466 };
465 467
466 } } // namespace v8::internal 468 } } // namespace v8::internal
467 469
468 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 470 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698