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

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

Issue 22715004: Version 3.20.15 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Add TypedArray API and correctness patches r16033 and r16084 Created 7 years, 4 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/mips/full-codegen-mips.cc ('k') | 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // LOperand is loaded into scratch, unless already a register. 107 // LOperand is loaded into scratch, unless already a register.
108 Register EmitLoadRegister(LOperand* op, Register scratch); 108 Register EmitLoadRegister(LOperand* op, Register scratch);
109 109
110 // LOperand must be a double register. 110 // LOperand must be a double register.
111 DoubleRegister ToDoubleRegister(LOperand* op) const; 111 DoubleRegister ToDoubleRegister(LOperand* op) const;
112 112
113 // LOperand is loaded into dbl_scratch, unless already a double register. 113 // LOperand is loaded into dbl_scratch, unless already a double register.
114 DoubleRegister EmitLoadDoubleRegister(LOperand* op, 114 DoubleRegister EmitLoadDoubleRegister(LOperand* op,
115 FloatRegister flt_scratch, 115 FloatRegister flt_scratch,
116 DoubleRegister dbl_scratch); 116 DoubleRegister dbl_scratch);
117 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const; 117 int ToRepresentation(LConstantOperand* op, const Representation& r) const;
118 int32_t ToInteger32(LConstantOperand* op) const; 118 int32_t ToInteger32(LConstantOperand* op) const;
119 Smi* ToSmi(LConstantOperand* op) const; 119 Smi* ToSmi(LConstantOperand* op) const;
120 double ToDouble(LConstantOperand* op) const; 120 double ToDouble(LConstantOperand* op) const;
121 Operand ToOperand(LOperand* op); 121 Operand ToOperand(LOperand* op);
122 MemOperand ToMemOperand(LOperand* op) const; 122 MemOperand ToMemOperand(LOperand* op) const;
123 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. 123 // Returns a MemOperand pointing to the high word of a DoubleStackSlot.
124 MemOperand ToHighMemOperand(LOperand* op) const; 124 MemOperand ToHighMemOperand(LOperand* op) const;
125 125
126 bool IsInteger32(LConstantOperand* op) const; 126 bool IsInteger32(LConstantOperand* op) const;
127 bool IsSmi(LConstantOperand* op) const; 127 bool IsSmi(LConstantOperand* op) const;
(...skipping 18 matching lines...) Expand all
146 void DoDeferredTaggedToI(LTaggedToI* instr); 146 void DoDeferredTaggedToI(LTaggedToI* instr);
147 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); 147 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr);
148 void DoDeferredStackCheck(LStackCheck* instr); 148 void DoDeferredStackCheck(LStackCheck* instr);
149 void DoDeferredRandom(LRandom* instr); 149 void DoDeferredRandom(LRandom* instr);
150 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 150 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
151 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 151 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
152 void DoDeferredAllocate(LAllocate* instr); 152 void DoDeferredAllocate(LAllocate* instr);
153 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 153 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
154 Label* map_check); 154 Label* map_check);
155 155
156 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); 156 void DoCheckMapCommon(Register map_reg, Handle<Map> map, LEnvironment* env);
157 157
158 // Parallel move support. 158 // Parallel move support.
159 void DoParallelMove(LParallelMove* move); 159 void DoParallelMove(LParallelMove* move);
160 void DoGap(LGap* instr); 160 void DoGap(LGap* instr);
161 161
162 MemOperand PrepareKeyedOperand(Register key, 162 MemOperand PrepareKeyedOperand(Register key,
163 Register base, 163 Register base,
164 bool key_is_constant, 164 bool key_is_constant,
165 int constant_key, 165 int constant_key,
166 int element_size, 166 int element_size,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 void EmitClassOfTest(Label* if_true, 207 void EmitClassOfTest(Label* if_true,
208 Label* if_false, 208 Label* if_false,
209 Handle<String> class_name, 209 Handle<String> class_name,
210 Register input, 210 Register input,
211 Register temporary, 211 Register temporary,
212 Register temporary2); 212 Register temporary2);
213 213
214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 214 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
215 215
216 void Abort(BailoutReason reason); 216 void Abort(const char* reason);
217 void FPRINTF_CHECKING Comment(const char* format, ...); 217 void FPRINTF_CHECKING Comment(const char* format, ...);
218 218
219 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 219 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
220 220
221 // Code generation passes. Returns true if code generation should 221 // Code generation passes. Returns true if code generation should
222 // continue. 222 // continue.
223 bool GeneratePrologue(); 223 bool GeneratePrologue();
224 bool GenerateBody(); 224 bool GenerateBody();
225 bool GenerateDeferredCode(); 225 bool GenerateDeferredCode();
226 bool GenerateDeoptJumpTable(); 226 bool GenerateDeoptJumpTable();
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 LCodeGen* codegen_; 509 LCodeGen* codegen_;
510 Label entry_; 510 Label entry_;
511 Label exit_; 511 Label exit_;
512 Label* external_exit_; 512 Label* external_exit_;
513 int instruction_index_; 513 int instruction_index_;
514 }; 514 };
515 515
516 } } // namespace v8::internal 516 } } // namespace v8::internal
517 517
518 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 518 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/full-codegen-mips.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698