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

Side by Side Diff: src/mips/codegen-mips.h

Issue 669272: Added sqrt and pow for arm and x64 - to fix build failures. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 9 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/arm/codegen-arm.cc ('k') | src/mips/codegen-mips.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void GenerateIsObject(ZoneList<Expression*>* args); 240 void GenerateIsObject(ZoneList<Expression*>* args);
241 void GenerateIsFunction(ZoneList<Expression*>* args); 241 void GenerateIsFunction(ZoneList<Expression*>* args);
242 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 242 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
243 void GenerateStringAdd(ZoneList<Expression*>* args); 243 void GenerateStringAdd(ZoneList<Expression*>* args);
244 void GenerateSubString(ZoneList<Expression*>* args); 244 void GenerateSubString(ZoneList<Expression*>* args);
245 void GenerateStringCompare(ZoneList<Expression*>* args); 245 void GenerateStringCompare(ZoneList<Expression*>* args);
246 void GenerateRegExpExec(ZoneList<Expression*>* args); 246 void GenerateRegExpExec(ZoneList<Expression*>* args);
247 void GenerateNumberToString(ZoneList<Expression*>* args); 247 void GenerateNumberToString(ZoneList<Expression*>* args);
248 248
249 // Fast support for Math.pow(). 249 // Fast support for Math.pow().
250 void GeneratePow(ZoneList<Expression*>* args); 250 void GenerateMathPow(ZoneList<Expression*>* args);
251 // Fast support for Math.sqrt().
252 void GenerateMathPow(ZoneList<Expression*>* args);
253
251 254
252 // Fast support for Math.sin and Math.cos. 255 // Fast support for Math.sin and Math.cos.
253 inline void GenerateMathSin(ZoneList<Expression*>* args); 256 inline void GenerateMathSin(ZoneList<Expression*>* args);
254 inline void GenerateMathCos(ZoneList<Expression*>* args); 257 inline void GenerateMathCos(ZoneList<Expression*>* args);
255 258
256 // Simple condition analysis. 259 // Simple condition analysis.
257 enum ConditionAnalysis { 260 enum ConditionAnalysis {
258 ALWAYS_TRUE, 261 ALWAYS_TRUE,
259 ALWAYS_FALSE, 262 ALWAYS_FALSE,
260 DONT_KNOW 263 DONT_KNOW
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 friend class FullCodeGenerator; 312 friend class FullCodeGenerator;
310 friend class FullCodeGenSyntaxChecker; 313 friend class FullCodeGenSyntaxChecker;
311 314
312 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 315 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
313 }; 316 };
314 317
315 318
316 } } // namespace v8::internal 319 } } // namespace v8::internal
317 320
318 #endif // V8_MIPS_CODEGEN_MIPS_H_ 321 #endif // V8_MIPS_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/mips/codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698