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

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

Issue 668154: Inlining NumberIfFinite (ia32). (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
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 GeneratePow(ZoneList<Expression*>* args);
251 251
252 // Fast support for Math.sin and Math.cos. 252 // Fast support for Math.sin and Math.cos.
253 inline void GenerateMathSin(ZoneList<Expression*>* args); 253 inline void GenerateMathSin(ZoneList<Expression*>* args);
254 inline void GenerateMathCos(ZoneList<Expression*>* args); 254 inline void GenerateMathCos(ZoneList<Expression*>* args);
255 255
256 // Fast support fo IsFinite.
257 void GenerateNumberIsFinite(ZoneList<Expression*>* args);
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
261 }; 264 };
262 ConditionAnalysis AnalyzeCondition(Expression* cond); 265 ConditionAnalysis AnalyzeCondition(Expression* cond);
263 266
264 // Methods used to indicate which source code is generated for. Source 267 // Methods used to indicate which source code is generated for. Source
265 // positions are collected by the assembler and emitted with the relocation 268 // positions are collected by the assembler and emitted with the relocation
(...skipping 43 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

Powered by Google App Engine
This is Rietveld 408576698