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

Side by Side Diff: src/arm/codegen-arm.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
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')
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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // Fast support for number to string. 396 // Fast support for number to string.
397 void GenerateNumberToString(ZoneList<Expression*>* args); 397 void GenerateNumberToString(ZoneList<Expression*>* args);
398 398
399 // Fast support for Math.pow(). 399 // Fast support for Math.pow().
400 void GeneratePow(ZoneList<Expression*>* args); 400 void GeneratePow(ZoneList<Expression*>* args);
401 401
402 // Fast call to sine function. 402 // Fast call to sine function.
403 void GenerateMathSin(ZoneList<Expression*>* args); 403 void GenerateMathSin(ZoneList<Expression*>* args);
404 void GenerateMathCos(ZoneList<Expression*>* args); 404 void GenerateMathCos(ZoneList<Expression*>* args);
405 405
406 // Fast support fo IsFinite.
407 void GenerateNumberIsFinite(ZoneList<Expression*>* args);
408
406 // Simple condition analysis. 409 // Simple condition analysis.
407 enum ConditionAnalysis { 410 enum ConditionAnalysis {
408 ALWAYS_TRUE, 411 ALWAYS_TRUE,
409 ALWAYS_FALSE, 412 ALWAYS_FALSE,
410 DONT_KNOW 413 DONT_KNOW
411 }; 414 };
412 ConditionAnalysis AnalyzeCondition(Expression* cond); 415 ConditionAnalysis AnalyzeCondition(Expression* cond);
413 416
414 // Methods used to indicate which source code is generated for. Source 417 // Methods used to indicate which source code is generated for. Source
415 // positions are collected by the assembler and emitted with the relocation 418 // positions are collected by the assembler and emitted with the relocation
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 Major MajorKey() { return StringCompare; } 625 Major MajorKey() { return StringCompare; }
623 int MinorKey() { return 0; } 626 int MinorKey() { return 0; }
624 627
625 void Generate(MacroAssembler* masm); 628 void Generate(MacroAssembler* masm);
626 }; 629 };
627 630
628 631
629 } } // namespace v8::internal 632 } } // namespace v8::internal
630 633
631 #endif // V8_ARM_CODEGEN_ARM_H_ 634 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698