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

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

Issue 5220007: Force pretenuring of closures that are immediately assigned to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 785
785 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc 786 friend class CodeGeneratorPatcher; // Used in test-log-stack-tracer.cc
786 787
787 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 788 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
788 }; 789 };
789 790
790 791
791 } } // namespace v8::internal 792 } } // namespace v8::internal
792 793
793 #endif // V8_IA32_CODEGEN_IA32_H_ 794 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698