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

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

Issue 10735020: Optimize Smi keys for KeyedLoads (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review feedback Created 8 years, 5 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 240 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
241 241
242 Register ToRegister(int index) const; 242 Register ToRegister(int index) const;
243 XMMRegister ToDoubleRegister(int index) const; 243 XMMRegister ToDoubleRegister(int index) const;
244 int ToInteger32(LConstantOperand* op) const; 244 int ToInteger32(LConstantOperand* op) const;
245 245
246 double ToDouble(LConstantOperand* op) const; 246 double ToDouble(LConstantOperand* op) const;
247 Operand BuildFastArrayOperand(LOperand* elements_pointer, 247 Operand BuildFastArrayOperand(LOperand* elements_pointer,
248 LOperand* key, 248 LOperand* key,
249 Representation key_representation,
249 ElementsKind elements_kind, 250 ElementsKind elements_kind,
250 uint32_t offset, 251 uint32_t offset,
251 uint32_t additional_index = 0); 252 uint32_t additional_index = 0);
252 253
253 // Specific math operations - used from DoUnaryMathOperation. 254 // Specific math operations - used from DoUnaryMathOperation.
254 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 255 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
255 void DoMathAbs(LUnaryMathOperation* instr); 256 void DoMathAbs(LUnaryMathOperation* instr);
256 void DoMathFloor(LUnaryMathOperation* instr); 257 void DoMathFloor(LUnaryMathOperation* instr);
257 void DoMathRound(LUnaryMathOperation* instr); 258 void DoMathRound(LUnaryMathOperation* instr);
258 void DoMathSqrt(LUnaryMathOperation* instr); 259 void DoMathSqrt(LUnaryMathOperation* instr);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 LCodeGen* codegen_; 410 LCodeGen* codegen_;
410 Label entry_; 411 Label entry_;
411 Label exit_; 412 Label exit_;
412 Label* external_exit_; 413 Label* external_exit_;
413 int instruction_index_; 414 int instruction_index_;
414 }; 415 };
415 416
416 } } // namespace v8::internal 417 } } // namespace v8::internal
417 418
418 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 419 #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