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

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

Issue 150018: Optimize %IsConstructCall() on IA-32. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 5 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
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 void DeclareGlobals(Handle<FixedArray> pairs); 515 void DeclareGlobals(Handle<FixedArray> pairs);
516 516
517 // Instantiate the function boilerplate. 517 // Instantiate the function boilerplate.
518 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); 518 void InstantiateBoilerplate(Handle<JSFunction> boilerplate);
519 519
520 // Support for type checks. 520 // Support for type checks.
521 void GenerateIsSmi(ZoneList<Expression*>* args); 521 void GenerateIsSmi(ZoneList<Expression*>* args);
522 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 522 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
523 void GenerateIsArray(ZoneList<Expression*>* args); 523 void GenerateIsArray(ZoneList<Expression*>* args);
524 524
525 // Support for construct call checks.
526 void GenerateIsConstructCall(ZoneList<Expression*>* args);
527
525 // Support for arguments.length and arguments[?]. 528 // Support for arguments.length and arguments[?].
526 void GenerateArgumentsLength(ZoneList<Expression*>* args); 529 void GenerateArgumentsLength(ZoneList<Expression*>* args);
527 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 530 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
528 531
529 // Support for accessing the value field of an object (used by Date). 532 // Support for accessing the value field of an object (used by Date).
530 void GenerateValueOf(ZoneList<Expression*>* args); 533 void GenerateValueOf(ZoneList<Expression*>* args);
531 void GenerateSetValueOf(ZoneList<Expression*>* args); 534 void GenerateSetValueOf(ZoneList<Expression*>* args);
532 535
533 // Fast support for charCodeAt(n). 536 // Fast support for charCodeAt(n).
534 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); 537 void GenerateFastCharCodeAt(ZoneList<Expression*>* args);
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 friend class Reference; 652 friend class Reference;
650 friend class Result; 653 friend class Result;
651 654
652 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 655 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
653 }; 656 };
654 657
655 658
656 } } // namespace v8::internal 659 } } // namespace v8::internal
657 660
658 #endif // V8_X64_CODEGEN_X64_H_ 661 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « src/v8natives.js ('k') | src/x64/codegen-x64.cc » ('j') | src/x64/codegen-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698