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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 uint32_t offset); 234 uint32_t offset);
235 235
236 // Specific math operations - used from DoUnaryMathOperation. 236 // Specific math operations - used from DoUnaryMathOperation.
237 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 237 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
238 void DoMathAbs(LUnaryMathOperation* instr); 238 void DoMathAbs(LUnaryMathOperation* instr);
239 void DoMathFloor(LUnaryMathOperation* instr); 239 void DoMathFloor(LUnaryMathOperation* instr);
240 void DoMathRound(LUnaryMathOperation* instr); 240 void DoMathRound(LUnaryMathOperation* instr);
241 void DoMathSqrt(LUnaryMathOperation* instr); 241 void DoMathSqrt(LUnaryMathOperation* instr);
242 void DoMathPowHalf(LUnaryMathOperation* instr); 242 void DoMathPowHalf(LUnaryMathOperation* instr);
243 void DoMathLog(LUnaryMathOperation* instr); 243 void DoMathLog(LUnaryMathOperation* instr);
244 void DoMathTan(LUnaryMathOperation* instr);
244 void DoMathCos(LUnaryMathOperation* instr); 245 void DoMathCos(LUnaryMathOperation* instr);
245 void DoMathSin(LUnaryMathOperation* instr); 246 void DoMathSin(LUnaryMathOperation* instr);
246 247
247 // Support for recording safepoint and position information. 248 // Support for recording safepoint and position information.
248 void RecordSafepoint(LPointerMap* pointers, 249 void RecordSafepoint(LPointerMap* pointers,
249 Safepoint::Kind kind, 250 Safepoint::Kind kind,
250 int arguments, 251 int arguments,
251 Safepoint::DeoptMode mode); 252 Safepoint::DeoptMode mode);
252 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode); 253 void RecordSafepoint(LPointerMap* pointers, Safepoint::DeoptMode mode);
253 void RecordSafepoint(Safepoint::DeoptMode mode); 254 void RecordSafepoint(Safepoint::DeoptMode mode);
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 LCodeGen* codegen_; 385 LCodeGen* codegen_;
385 Label entry_; 386 Label entry_;
386 Label exit_; 387 Label exit_;
387 Label* external_exit_; 388 Label* external_exit_;
388 int instruction_index_; 389 int instruction_index_;
389 }; 390 };
390 391
391 } } // namespace v8::internal 392 } } // namespace v8::internal
392 393
393 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 394 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698