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

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

Issue 660072: Added fast support for Math.pow. This simply calculates the result using the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 581
582 // Fast support for StringCompare. 582 // Fast support for StringCompare.
583 void GenerateStringCompare(ZoneList<Expression*>* args); 583 void GenerateStringCompare(ZoneList<Expression*>* args);
584 584
585 // Support for direct calls from JavaScript to native RegExp code. 585 // Support for direct calls from JavaScript to native RegExp code.
586 void GenerateRegExpExec(ZoneList<Expression*>* args); 586 void GenerateRegExpExec(ZoneList<Expression*>* args);
587 587
588 // Fast support for number to string. 588 // Fast support for number to string.
589 void GenerateNumberToString(ZoneList<Expression*>* args); 589 void GenerateNumberToString(ZoneList<Expression*>* args);
590 590
591 // Fast support for Math.pow().
592 void GeneratePow(ZoneList<Expression*>* args);
593
591 // Fast call to transcendental functions. 594 // Fast call to transcendental functions.
592 void GenerateMathSin(ZoneList<Expression*>* args); 595 void GenerateMathSin(ZoneList<Expression*>* args);
593 void GenerateMathCos(ZoneList<Expression*>* args); 596 void GenerateMathCos(ZoneList<Expression*>* args);
594 597
595 // Simple condition analysis. 598 // Simple condition analysis.
596 enum ConditionAnalysis { 599 enum ConditionAnalysis {
597 ALWAYS_TRUE, 600 ALWAYS_TRUE,
598 ALWAYS_FALSE, 601 ALWAYS_FALSE,
599 DONT_KNOW 602 DONT_KNOW
600 }; 603 };
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 void Print() { 920 void Print() {
918 PrintF("NumberToStringStub\n"); 921 PrintF("NumberToStringStub\n");
919 } 922 }
920 #endif 923 #endif
921 }; 924 };
922 925
923 926
924 } } // namespace v8::internal 927 } } // namespace v8::internal
925 928
926 #endif // V8_IA32_CODEGEN_IA32_H_ 929 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698