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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/ia32/ic-ia32.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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void DoDeferredTaggedToI(LTaggedToI* instr); 156 void DoDeferredTaggedToI(LTaggedToI* instr);
157 void DoDeferredTaggedToINoSSE2(LTaggedToINoSSE2* instr); 157 void DoDeferredTaggedToINoSSE2(LTaggedToINoSSE2* instr);
158 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); 158 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* 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 DoDeferredAllocate(LAllocate* instr); 163 void DoDeferredAllocate(LAllocate* instr);
164 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 164 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
165 Label* map_check); 165 Label* map_check);
166 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); 166
167 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr);
167 168
168 // Parallel move support. 169 // Parallel move support.
169 void DoParallelMove(LParallelMove* move); 170 void DoParallelMove(LParallelMove* move);
170 void DoGap(LGap* instr); 171 void DoGap(LGap* instr);
171 172
172 // Emit frame translation commands for an environment. 173 // Emit frame translation commands for an environment.
173 void WriteTranslation(LEnvironment* environment, Translation* translation); 174 void WriteTranslation(LEnvironment* environment, Translation* translation);
174 175
175 void EnsureRelocSpaceForDeoptimization(); 176 void EnsureRelocSpaceForDeoptimization();
176 177
(...skipping 27 matching lines...) Expand all
204 205
205 void EmitClassOfTest(Label* if_true, 206 void EmitClassOfTest(Label* if_true,
206 Label* if_false, 207 Label* if_false,
207 Handle<String> class_name, 208 Handle<String> class_name,
208 Register input, 209 Register input,
209 Register temporary, 210 Register temporary,
210 Register temporary2); 211 Register temporary2);
211 212
212 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } 213 int GetStackSlotCount() const { return chunk()->spill_slot_count(); }
213 214
214 void Abort(BailoutReason reason); 215 void Abort(const char* reason);
215 void FPRINTF_CHECKING Comment(const char* format, ...); 216 void FPRINTF_CHECKING Comment(const char* format, ...);
216 217
217 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } 218 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); }
218 219
219 // Code generation passes. Returns true if code generation should 220 // Code generation passes. Returns true if code generation should
220 // continue. 221 // continue.
221 bool GeneratePrologue(); 222 bool GeneratePrologue();
222 bool GenerateBody(); 223 bool GenerateBody();
223 bool GenerateDeferredCode(); 224 bool GenerateDeferredCode();
224 bool GenerateJumpTable(); 225 bool GenerateJumpTable();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 bool is_uint32); 288 bool is_uint32);
288 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); 289 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
289 void PopulateDeoptimizationData(Handle<Code> code); 290 void PopulateDeoptimizationData(Handle<Code> code);
290 int DefineDeoptimizationLiteral(Handle<Object> literal); 291 int DefineDeoptimizationLiteral(Handle<Object> literal);
291 292
292 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 293 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
293 294
294 Register ToRegister(int index) const; 295 Register ToRegister(int index) const;
295 XMMRegister ToDoubleRegister(int index) const; 296 XMMRegister ToDoubleRegister(int index) const;
296 X87Register ToX87Register(int index) const; 297 X87Register ToX87Register(int index) const;
297 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const; 298 int ToRepresentation(LConstantOperand* op, const Representation& r) const;
298 int32_t ToInteger32(LConstantOperand* op) const; 299 int32_t ToInteger32(LConstantOperand* op) const;
299 ExternalReference ToExternalReference(LConstantOperand* op) const; 300 ExternalReference ToExternalReference(LConstantOperand* op) const;
300 301
301 Operand BuildFastArrayOperand(LOperand* elements_pointer, 302 Operand BuildFastArrayOperand(LOperand* elements_pointer,
302 LOperand* key, 303 LOperand* key,
303 Representation key_representation, 304 Representation key_representation,
304 ElementsKind elements_kind, 305 ElementsKind elements_kind,
305 uint32_t offset, 306 uint32_t offset,
306 uint32_t additional_index = 0); 307 uint32_t additional_index = 0);
307 308
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 LCodeGen* codegen_; 502 LCodeGen* codegen_;
502 Label entry_; 503 Label entry_;
503 Label exit_; 504 Label exit_;
504 Label* external_exit_; 505 Label* external_exit_;
505 int instruction_index_; 506 int instruction_index_;
506 }; 507 };
507 508
508 } } // namespace v8::internal 509 } } // namespace v8::internal
509 510
510 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 511 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/ic-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698