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

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

Issue 21180004: Avoid redundant smi check for Math.abs (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: 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/lithium-codegen-ia32.cc ('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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 Register ToRegister(int index) const; 261 Register ToRegister(int index) const;
262 XMMRegister ToDoubleRegister(int index) const; 262 XMMRegister ToDoubleRegister(int index) const;
263 Operand BuildFastArrayOperand( 263 Operand BuildFastArrayOperand(
264 LOperand* elements_pointer, 264 LOperand* elements_pointer,
265 LOperand* key, 265 LOperand* key,
266 ElementsKind elements_kind, 266 ElementsKind elements_kind,
267 uint32_t offset, 267 uint32_t offset,
268 uint32_t additional_index = 0); 268 uint32_t additional_index = 0);
269 269
270 void EmitIntegerMathAbs(LMathAbs* instr); 270 void EmitIntegerMathAbs(LMathAbs* instr);
271 void EmitInteger64MathAbs(LMathAbs* instr);
271 272
272 // Support for recording safepoint and position information. 273 // Support for recording safepoint and position information.
273 void RecordSafepoint(LPointerMap* pointers, 274 void RecordSafepoint(LPointerMap* pointers,
274 Safepoint::Kind kind, 275 Safepoint::Kind kind,
275 int arguments, 276 int arguments,
276 Safepoint::DeoptMode mode); 277 Safepoint::DeoptMode mode);
277 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 278 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
278 void RecordSafepoint(Safepoint::DeoptMode mode); 279 void RecordSafepoint(Safepoint::DeoptMode mode);
279 void RecordSafepointWithRegisters(LPointerMap* pointers, 280 void RecordSafepointWithRegisters(LPointerMap* pointers,
280 int arguments, 281 int arguments,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 LCodeGen* codegen_; 429 LCodeGen* codegen_;
429 Label entry_; 430 Label entry_;
430 Label exit_; 431 Label exit_;
431 Label* external_exit_; 432 Label* external_exit_;
432 int instruction_index_; 433 int instruction_index_;
433 }; 434 };
434 435
435 } } // namespace v8::internal 436 } } // namespace v8::internal
436 437
437 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 438 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698