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

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

Issue 600097: Change the interface of CodeGenerator::InstantiateBoilerplate. (Closed)
Patch Set: Created 10 years, 10 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
« no previous file with comments | « no previous file | 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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 526
527 void ProcessDeclarations(ZoneList<Declaration*>* declarations); 527 void ProcessDeclarations(ZoneList<Declaration*>* declarations);
528 528
529 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); 529 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop);
530 530
531 // Declare global variables and functions in the given array of 531 // Declare global variables and functions in the given array of
532 // name/value pairs. 532 // name/value pairs.
533 void DeclareGlobals(Handle<FixedArray> pairs); 533 void DeclareGlobals(Handle<FixedArray> pairs);
534 534
535 // Instantiate the function boilerplate. 535 // Instantiate the function boilerplate.
536 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); 536 Result InstantiateBoilerplate(Handle<JSFunction> boilerplate);
537 537
538 // Support for type checks. 538 // Support for type checks.
539 void GenerateIsSmi(ZoneList<Expression*>* args); 539 void GenerateIsSmi(ZoneList<Expression*>* args);
540 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 540 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
541 void GenerateIsArray(ZoneList<Expression*>* args); 541 void GenerateIsArray(ZoneList<Expression*>* args);
542 void GenerateIsObject(ZoneList<Expression*>* args); 542 void GenerateIsObject(ZoneList<Expression*>* args);
543 void GenerateIsFunction(ZoneList<Expression*>* args); 543 void GenerateIsFunction(ZoneList<Expression*>* args);
544 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 544 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
545 545
546 // Support for construct call checks. 546 // Support for construct call checks.
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 Major MajorKey() { return StringCompare; } 824 Major MajorKey() { return StringCompare; }
825 int MinorKey() { return 0; } 825 int MinorKey() { return 0; }
826 826
827 void Generate(MacroAssembler* masm); 827 void Generate(MacroAssembler* masm);
828 }; 828 };
829 829
830 830
831 } } // namespace v8::internal 831 } } // namespace v8::internal
832 832
833 #endif // V8_IA32_CODEGEN_IA32_H_ 833 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698