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

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

Issue 669240: - Remove function boilerplate objects and use SharedFunctionInfos in... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Committed Created 10 years, 9 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/api.cc ('k') | src/arm/codegen-arm.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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 341
342 static Handle<Code> ComputeLazyCompile(int argc); 342 static Handle<Code> ComputeLazyCompile(int argc);
343 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 343 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
344 344
345 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); 345 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop);
346 346
347 // Declare global variables and functions in the given array of 347 // Declare global variables and functions in the given array of
348 // name/value pairs. 348 // name/value pairs.
349 void DeclareGlobals(Handle<FixedArray> pairs); 349 void DeclareGlobals(Handle<FixedArray> pairs);
350 350
351 // Instantiate the function boilerplate. 351 // Instantiate the function based on the shared function info.
352 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); 352 void InstantiateFunction(Handle<SharedFunctionInfo> function_info);
353 353
354 // Support for type checks. 354 // Support for type checks.
355 void GenerateIsSmi(ZoneList<Expression*>* args); 355 void GenerateIsSmi(ZoneList<Expression*>* args);
356 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 356 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
357 void GenerateIsArray(ZoneList<Expression*>* args); 357 void GenerateIsArray(ZoneList<Expression*>* args);
358 void GenerateIsRegExp(ZoneList<Expression*>* args); 358 void GenerateIsRegExp(ZoneList<Expression*>* args);
359 void GenerateIsObject(ZoneList<Expression*>* args); 359 void GenerateIsObject(ZoneList<Expression*>* args);
360 void GenerateIsFunction(ZoneList<Expression*>* args); 360 void GenerateIsFunction(ZoneList<Expression*>* args);
361 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 361 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
362 362
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 void Print() { 689 void Print() {
690 PrintF("NumberToStringStub\n"); 690 PrintF("NumberToStringStub\n");
691 } 691 }
692 #endif 692 #endif
693 }; 693 };
694 694
695 695
696 } } // namespace v8::internal 696 } } // namespace v8::internal
697 697
698 #endif // V8_ARM_CODEGEN_ARM_H_ 698 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698