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

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

Issue 5274002: Version 2.5.8... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 1 month 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/ia32/code-stubs-ia32.cc ('k') | src/ia32/codegen-ia32.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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 618
619 bool CheckForInlineRuntimeCall(CallRuntime* node); 619 bool CheckForInlineRuntimeCall(CallRuntime* node);
620 620
621 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 621 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
622 622
623 // Declare global variables and functions in the given array of 623 // Declare global variables and functions in the given array of
624 // name/value pairs. 624 // name/value pairs.
625 void DeclareGlobals(Handle<FixedArray> pairs); 625 void DeclareGlobals(Handle<FixedArray> pairs);
626 626
627 // Instantiate the function based on the shared function info. 627 // Instantiate the function based on the shared function info.
628 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info); 628 Result InstantiateFunction(Handle<SharedFunctionInfo> function_info,
629 bool pretenure);
629 630
630 // Support for types. 631 // Support for types.
631 void GenerateIsSmi(ZoneList<Expression*>* args); 632 void GenerateIsSmi(ZoneList<Expression*>* args);
632 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 633 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
633 void GenerateIsArray(ZoneList<Expression*>* args); 634 void GenerateIsArray(ZoneList<Expression*>* args);
634 void GenerateIsRegExp(ZoneList<Expression*>* args); 635 void GenerateIsRegExp(ZoneList<Expression*>* args);
635 void GenerateIsObject(ZoneList<Expression*>* args); 636 void GenerateIsObject(ZoneList<Expression*>* args);
636 void GenerateIsSpecObject(ZoneList<Expression*>* args); 637 void GenerateIsSpecObject(ZoneList<Expression*>* args);
637 void GenerateIsFunction(ZoneList<Expression*>* args); 638 void GenerateIsFunction(ZoneList<Expression*>* args);
638 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 639 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 void GenerateMathPow(ZoneList<Expression*>* args); 704 void GenerateMathPow(ZoneList<Expression*>* args);
704 void GenerateMathSin(ZoneList<Expression*>* args); 705 void GenerateMathSin(ZoneList<Expression*>* args);
705 void GenerateMathCos(ZoneList<Expression*>* args); 706 void GenerateMathCos(ZoneList<Expression*>* args);
706 void GenerateMathSqrt(ZoneList<Expression*>* args); 707 void GenerateMathSqrt(ZoneList<Expression*>* args);
707 708
708 // Check whether two RegExps are equivalent 709 // Check whether two RegExps are equivalent
709 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args); 710 void GenerateIsRegExpEquivalent(ZoneList<Expression*>* args);
710 711
711 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args); 712 void GenerateHasCachedArrayIndex(ZoneList<Expression*>* args);
712 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args); 713 void GenerateGetCachedArrayIndex(ZoneList<Expression*>* args);
714 void GenerateFastAsciiArrayJoin(ZoneList<Expression*>* args);
713 715
714 // Simple condition analysis. 716 // Simple condition analysis.
715 enum ConditionAnalysis { 717 enum ConditionAnalysis {
716 ALWAYS_TRUE, 718 ALWAYS_TRUE,
717 ALWAYS_FALSE, 719 ALWAYS_FALSE,
718 DONT_KNOW 720 DONT_KNOW
719 }; 721 };
720 ConditionAnalysis AnalyzeCondition(Expression* cond); 722 ConditionAnalysis AnalyzeCondition(Expression* cond);
721 723
722 // Methods used to indicate which source code is generated for. Source 724 // Methods used to indicate which source code is generated for. Source
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 785
784 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 786 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
785 787
786 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 788 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
787 }; 789 };
788 790
789 791
790 } } // namespace v8::internal 792 } } // namespace v8::internal
791 793
792 #endif // V8_IA32_CODEGEN_IA32_H_ 794 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698