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

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

Issue 8700004: Implement Math.tan in generated code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 uint32_t offset); 224 uint32_t offset);
225 225
226 // Specific math operations - used from DoUnaryMathOperation. 226 // Specific math operations - used from DoUnaryMathOperation.
227 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 227 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
228 void DoMathAbs(LUnaryMathOperation* instr); 228 void DoMathAbs(LUnaryMathOperation* instr);
229 void DoMathFloor(LUnaryMathOperation* instr); 229 void DoMathFloor(LUnaryMathOperation* instr);
230 void DoMathRound(LUnaryMathOperation* instr); 230 void DoMathRound(LUnaryMathOperation* instr);
231 void DoMathSqrt(LUnaryMathOperation* instr); 231 void DoMathSqrt(LUnaryMathOperation* instr);
232 void DoMathPowHalf(LUnaryMathOperation* instr); 232 void DoMathPowHalf(LUnaryMathOperation* instr);
233 void DoMathLog(LUnaryMathOperation* instr); 233 void DoMathLog(LUnaryMathOperation* instr);
234 void DoMathTan(LUnaryMathOperation* instr);
234 void DoMathCos(LUnaryMathOperation* instr); 235 void DoMathCos(LUnaryMathOperation* instr);
235 void DoMathSin(LUnaryMathOperation* instr); 236 void DoMathSin(LUnaryMathOperation* instr);
236 237
237 // Support for recording safepoint and position information. 238 // Support for recording safepoint and position information.
238 void RecordSafepoint(LPointerMap* pointers, 239 void RecordSafepoint(LPointerMap* pointers,
239 Safepoint::Kind kind, 240 Safepoint::Kind kind,
240 int arguments, 241 int arguments,
241 Safepoint::DeoptMode mode); 242 Safepoint::DeoptMode mode);
242 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 243 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
243 void RecordSafepoint(Safepoint::DeoptMode mode); 244 void RecordSafepoint(Safepoint::DeoptMode mode);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 LCodeGen* codegen_; 386 LCodeGen* codegen_;
386 Label entry_; 387 Label entry_;
387 Label exit_; 388 Label exit_;
388 Label* external_exit_; 389 Label* external_exit_;
389 int instruction_index_; 390 int instruction_index_;
390 }; 391 };
391 392
392 } } // namespace v8::internal 393 } } // namespace v8::internal
393 394
394 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ 395 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698