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

Side by Side Diff: src/x64/lithium-codegen-x64.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/v8-counters.h ('k') | src/x64/lithium-codegen-x64.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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 int DefineDeoptimizationLiteral(Handle<Object> literal); 224 int DefineDeoptimizationLiteral(Handle<Object> literal);
225 225
226 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 226 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
227 227
228 Register ToRegister(int index) const; 228 Register ToRegister(int index) const;
229 XMMRegister ToDoubleRegister(int index) const; 229 XMMRegister ToDoubleRegister(int index) const;
230 Operand BuildFastArrayOperand( 230 Operand BuildFastArrayOperand(
231 LOperand* elements_pointer, 231 LOperand* elements_pointer,
232 LOperand* key, 232 LOperand* key,
233 ElementsKind elements_kind, 233 ElementsKind elements_kind,
234 uint32_t offset); 234 uint32_t offset,
235 uint32_t additional_index = 0);
235 236
236 // Specific math operations - used from DoUnaryMathOperation. 237 // Specific math operations - used from DoUnaryMathOperation.
237 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 238 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
238 void DoMathAbs(LUnaryMathOperation* instr); 239 void DoMathAbs(LUnaryMathOperation* instr);
239 void DoMathFloor(LUnaryMathOperation* instr); 240 void DoMathFloor(LUnaryMathOperation* instr);
240 void DoMathRound(LUnaryMathOperation* instr); 241 void DoMathRound(LUnaryMathOperation* instr);
241 void DoMathSqrt(LUnaryMathOperation* instr); 242 void DoMathSqrt(LUnaryMathOperation* instr);
242 void DoMathPowHalf(LUnaryMathOperation* instr); 243 void DoMathPowHalf(LUnaryMathOperation* instr);
243 void DoMathLog(LUnaryMathOperation* instr); 244 void DoMathLog(LUnaryMathOperation* instr);
244 void DoMathTan(LUnaryMathOperation* instr); 245 void DoMathTan(LUnaryMathOperation* instr);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 LCodeGen* codegen_; 398 LCodeGen* codegen_;
398 Label entry_; 399 Label entry_;
399 Label exit_; 400 Label exit_;
400 Label* external_exit_; 401 Label* external_exit_;
401 int instruction_index_; 402 int instruction_index_;
402 }; 403 };
403 404
404 } } // namespace v8::internal 405 } } // namespace v8::internal
405 406
406 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 407 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/v8-counters.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698