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

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

Issue 22285003: tweak of Math.abs in its x64 stub (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/stub-cache-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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 Register ToRegister(int index) const; 262 Register ToRegister(int index) const;
263 XMMRegister ToDoubleRegister(int index) const; 263 XMMRegister ToDoubleRegister(int index) const;
264 Operand BuildFastArrayOperand( 264 Operand BuildFastArrayOperand(
265 LOperand* elements_pointer, 265 LOperand* elements_pointer,
266 LOperand* key, 266 LOperand* key,
267 ElementsKind elements_kind, 267 ElementsKind elements_kind,
268 uint32_t offset, 268 uint32_t offset,
269 uint32_t additional_index = 0); 269 uint32_t additional_index = 0);
270 270
271 void EmitIntegerMathAbs(LMathAbs* instr); 271 void EmitIntegerMathAbs(LMathAbs* instr);
272 void EmitInteger64MathAbs(LMathAbs* instr); 272 void EmitSmiMathAbs(LMathAbs* instr);
273 273
274 // Support for recording safepoint and position information. 274 // Support for recording safepoint and position information.
275 void RecordSafepoint(LPointerMap* pointers, 275 void RecordSafepoint(LPointerMap* pointers,
276 Safepoint::Kind kind, 276 Safepoint::Kind kind,
277 int arguments, 277 int arguments,
278 Safepoint::DeoptMode mode); 278 Safepoint::DeoptMode mode);
279 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 279 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
280 void RecordSafepoint(Safepoint::DeoptMode mode); 280 void RecordSafepoint(Safepoint::DeoptMode mode);
281 void RecordSafepointWithRegisters(LPointerMap* pointers, 281 void RecordSafepointWithRegisters(LPointerMap* pointers,
282 int arguments, 282 int arguments,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 LCodeGen* codegen_; 437 LCodeGen* codegen_;
438 Label entry_; 438 Label entry_;
439 Label exit_; 439 Label exit_;
440 Label* external_exit_; 440 Label* external_exit_;
441 int instruction_index_; 441 int instruction_index_;
442 }; 442 };
443 443
444 } } // namespace v8::internal 444 } } // namespace v8::internal
445 445
446 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 446 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698