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

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

Issue 186673004: MIPS: Push safepoint registers in deferred number-to-i/u only on-demand. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: 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
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // code generation attempt succeeded. 117 // code generation attempt succeeded.
118 bool GenerateCode(); 118 bool GenerateCode();
119 119
120 // Finish the code by setting stack height, safepoint, and bailout 120 // Finish the code by setting stack height, safepoint, and bailout
121 // information on it. 121 // information on it.
122 void FinishCode(Handle<Code> code); 122 void FinishCode(Handle<Code> code);
123 123
124 void DoDeferredNumberTagD(LNumberTagD* instr); 124 void DoDeferredNumberTagD(LNumberTagD* instr);
125 125
126 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; 126 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
127 void DoDeferredNumberTagI(LInstruction* instr, 127 void DoDeferredNumberTagIU(LInstruction* instr,
128 LOperand* value, 128 LOperand* value,
129 IntegerSignedness signedness); 129 LOperand* temp1,
130 LOperand* temp2,
131 IntegerSignedness signedness);
130 132
131 void DoDeferredTaggedToI(LTaggedToI* instr); 133 void DoDeferredTaggedToI(LTaggedToI* instr);
132 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); 134 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr);
133 void DoDeferredStackCheck(LStackCheck* instr); 135 void DoDeferredStackCheck(LStackCheck* instr);
134 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 136 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
135 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 137 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
136 void DoDeferredAllocate(LAllocate* instr); 138 void DoDeferredAllocate(LAllocate* instr);
137 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 139 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
138 Label* map_check); 140 Label* map_check);
139 141
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 LCodeGen* codegen_; 499 LCodeGen* codegen_;
498 Label entry_; 500 Label entry_;
499 Label exit_; 501 Label exit_;
500 Label* external_exit_; 502 Label* external_exit_;
501 int instruction_index_; 503 int instruction_index_;
502 }; 504 };
503 505
504 } } // namespace v8::internal 506 } } // namespace v8::internal
505 507
506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 508 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698