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

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

Issue 10382055: Array index computation dehoisting. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments. Created 8 years, 7 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/hydrogen-instructions.h ('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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 235 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
236 236
237 Register ToRegister(int index) const; 237 Register ToRegister(int index) const;
238 XMMRegister ToDoubleRegister(int index) const; 238 XMMRegister ToDoubleRegister(int index) const;
239 int ToInteger32(LConstantOperand* op) const; 239 int ToInteger32(LConstantOperand* op) const;
240 240
241 double ToDouble(LConstantOperand* op) const; 241 double ToDouble(LConstantOperand* op) const;
242 Operand BuildFastArrayOperand(LOperand* elements_pointer, 242 Operand BuildFastArrayOperand(LOperand* elements_pointer,
243 LOperand* key, 243 LOperand* key,
244 ElementsKind elements_kind, 244 ElementsKind elements_kind,
245 uint32_t offset); 245 uint32_t offset,
246 uint32_t additional_index = 0);
246 247
247 // Specific math operations - used from DoUnaryMathOperation. 248 // Specific math operations - used from DoUnaryMathOperation.
248 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 249 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
249 void DoMathAbs(LUnaryMathOperation* instr); 250 void DoMathAbs(LUnaryMathOperation* instr);
250 void DoMathFloor(LUnaryMathOperation* instr); 251 void DoMathFloor(LUnaryMathOperation* instr);
251 void DoMathRound(LUnaryMathOperation* instr); 252 void DoMathRound(LUnaryMathOperation* instr);
252 void DoMathSqrt(LUnaryMathOperation* instr); 253 void DoMathSqrt(LUnaryMathOperation* instr);
253 void DoMathLog(LUnaryMathOperation* instr); 254 void DoMathLog(LUnaryMathOperation* instr);
254 void DoMathTan(LUnaryMathOperation* instr); 255 void DoMathTan(LUnaryMathOperation* instr);
255 void DoMathCos(LUnaryMathOperation* instr); 256 void DoMathCos(LUnaryMathOperation* instr);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 LCodeGen* codegen_; 401 LCodeGen* codegen_;
401 Label entry_; 402 Label entry_;
402 Label exit_; 403 Label exit_;
403 Label* external_exit_; 404 Label* external_exit_;
404 int instruction_index_; 405 int instruction_index_;
405 }; 406 };
406 407
407 } } // namespace v8::internal 408 } } // namespace v8::internal
408 409
409 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 410 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698