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

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

Issue 151363002: A64: a smi can hold any signed integer, so we don't need a deferred tag method for it (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/lithium-codegen-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 void DoDeferredNumberTagD(LNumberTagD* instr); 158 void DoDeferredNumberTagD(LNumberTagD* instr);
159 void DoDeferredStackCheck(LStackCheck* instr); 159 void DoDeferredStackCheck(LStackCheck* instr);
160 void DoDeferredRandom(LRandom* instr); 160 void DoDeferredRandom(LRandom* instr);
161 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 161 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
162 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 162 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
163 void DoDeferredMathAbsTagged(LMathAbsTagged* instr, 163 void DoDeferredMathAbsTagged(LMathAbsTagged* instr,
164 Label* exit, 164 Label* exit,
165 Label* allocation_entry); 165 Label* allocation_entry);
166 166
167 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; 167 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
168 void DoDeferredNumberTagI(LInstruction* instr, 168 void DoDeferredNumberTagU(LInstruction* instr,
169 LOperand* value, 169 LOperand* value,
170 LOperand* temp1, 170 LOperand* temp1,
171 LOperand* temp2, 171 LOperand* temp2);
172 IntegerSignedness signedness);
173 void DoDeferredTaggedToI(LTaggedToI* instr, 172 void DoDeferredTaggedToI(LTaggedToI* instr,
174 LOperand* value, 173 LOperand* value,
175 LOperand* temp1, 174 LOperand* temp1,
176 LOperand* temp2); 175 LOperand* temp2);
177 void DoDeferredAllocate(LAllocate* instr); 176 void DoDeferredAllocate(LAllocate* instr);
178 177
179 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr); 178 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr);
180 179
181 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 180 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
182 void EmitGoto(int block); 181 void EmitGoto(int block);
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 479
481 protected: 480 protected:
482 MacroAssembler* masm() const { return codegen_->masm(); } 481 MacroAssembler* masm() const { return codegen_->masm(); }
483 482
484 LCodeGen* codegen_; 483 LCodeGen* codegen_;
485 }; 484 };
486 485
487 } } // namespace v8::internal 486 } } // namespace v8::internal
488 487
489 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 488 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW
« no previous file with comments | « no previous file | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698