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

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

Issue 3141022: Using array index hash code for string-to-number conversion. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 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/v8natives.js ('k') | src/x64/codegen-x64.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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 void GenerateCallFunction(ZoneList<Expression*>* args); 676 void GenerateCallFunction(ZoneList<Expression*>* args);
677 677
678 // Fast call to math functions. 678 // Fast call to math functions.
679 void GenerateMathPow(ZoneList<Expression*>* args); 679 void GenerateMathPow(ZoneList<Expression*>* args);
680 void GenerateMathSin(ZoneList<Expression*>* args); 680 void GenerateMathSin(ZoneList<Expression*>* args);
681 void GenerateMathCos(ZoneList<Expression*>* args); 681 void GenerateMathCos(ZoneList<Expression*>* args);
682 void GenerateMathSqrt(ZoneList<Expression*>* args); 682 void GenerateMathSqrt(ZoneList<Expression*>* args);
683 683
684 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); 684 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args);
685 685
686 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args);
687 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args);
688
686 // Simple condition analysis. 689 // Simple condition analysis.
687 enum ConditionAnalysis { 690 enum ConditionAnalysis {
688 ALWAYS_TRUE, 691 ALWAYS_TRUE,
689 ALWAYS_FALSE, 692 ALWAYS_FALSE,
690 DONT_KNOW 693 DONT_KNOW
691 }; 694 };
692 ConditionAnalysis AnalyzeCondition(Expression* cond); 695 ConditionAnalysis AnalyzeCondition(Expression* cond);
693 696
694 // Methods used to indicate which source code is generated for. Source 697 // Methods used to indicate which source code is generated for. Source
695 // positions are collected by the assembler and emitted with the relocation 698 // positions are collected by the assembler and emitted with the relocation
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 751
749 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 752 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
750 753
751 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 754 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
752 }; 755 };
753 756
754 757
755 } } // namespace v8::internal 758 } } // namespace v8::internal
756 759
757 #endif // V8_X64_CODEGEN_X64_H_ 760 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/v8natives.js ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698