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

Side by Side Diff: src/arm/codegen-arm.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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 bool CheckForInlineRuntimeCall(CallRuntime* node); 442 bool CheckForInlineRuntimeCall(CallRuntime* node);
443 443
444 static Handle<Code> ComputeLazyCompile(int argc); 444 static Handle<Code> ComputeLazyCompile(int argc);
445 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 445 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
446 446
447 // Declare global variables and functions in the given array of 447 // Declare global variables and functions in the given array of
448 // name/value pairs. 448 // name/value pairs.
449 void DeclareGlobals(Handle<FixedArray> pairs); 449 void DeclareGlobals(Handle<FixedArray> pairs);
450 450
451 // Instantiate the function based on the shared function info. 451 // Instantiate the function based on the shared function info.
452 void InstantiateFunction(Handle<SharedFunctionInfo> function_info); 452 void InstantiateFunction(Handle<SharedFunctionInfo> function_info,
453 bool pretenure);
453 454
454 // Support for type checks. 455 // Support for type checks.
455 void GenerateIsSmi(ZoneList<Expression*>* args); 456 void GenerateIsSmi(ZoneList<Expression*>* args);
456 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 457 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
457 void GenerateIsArray(ZoneList<Expression*>* args); 458 void GenerateIsArray(ZoneList<Expression*>* args);
458 void GenerateIsRegExp(ZoneList<Expression*>* args); 459 void GenerateIsRegExp(ZoneList<Expression*>* args);
459 void GenerateIsObject(ZoneList<Expression*>* args); 460 void GenerateIsObject(ZoneList<Expression*>* args);
460 void GenerateIsSpecObject(ZoneList<Expression*>* args); 461 void GenerateIsSpecObject(ZoneList<Expression*>* args);
461 void GenerateIsFunction(ZoneList<Expression*>* args); 462 void GenerateIsFunction(ZoneList<Expression*>* args);
462 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 463 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 friend class FullCodeGenerator; 587 friend class FullCodeGenerator;
587 friend class FullCodeGenSyntaxChecker; 588 friend class FullCodeGenSyntaxChecker;
588 589
589 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 590 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
590 }; 591 };
591 592
592 593
593 } } // namespace v8::internal 594 } } // namespace v8::internal
594 595
595 #endif // V8_ARM_CODEGEN_ARM_H_ 596 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/codegen-arm.cc » ('j') | src/arm/codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698