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

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

Issue 596122: Some string optimizations: (Closed)
Patch Set: Undo unnecessary optimizations. 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
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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 // name/value pairs. 529 // name/value pairs.
530 void DeclareGlobals(Handle<FixedArray> pairs); 530 void DeclareGlobals(Handle<FixedArray> pairs);
531 531
532 // Instantiate the function boilerplate. 532 // Instantiate the function boilerplate.
533 void InstantiateBoilerplate(Handle<JSFunction> boilerplate); 533 void InstantiateBoilerplate(Handle<JSFunction> boilerplate);
534 534
535 // Support for type checks. 535 // Support for type checks.
536 void GenerateIsSmi(ZoneList<Expression*>* args); 536 void GenerateIsSmi(ZoneList<Expression*>* args);
537 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 537 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
538 void GenerateIsArray(ZoneList<Expression*>* args); 538 void GenerateIsArray(ZoneList<Expression*>* args);
539 void GenerateIsRegExp(ZoneList<Expression*>* args);
539 void GenerateIsObject(ZoneList<Expression*>* args); 540 void GenerateIsObject(ZoneList<Expression*>* args);
540 void GenerateIsFunction(ZoneList<Expression*>* args); 541 void GenerateIsFunction(ZoneList<Expression*>* args);
541 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 542 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
542 543
543 // Support for construct call checks. 544 // Support for construct call checks.
544 void GenerateIsConstructCall(ZoneList<Expression*>* args); 545 void GenerateIsConstructCall(ZoneList<Expression*>* args);
545 546
546 // Support for arguments.length and arguments[?]. 547 // Support for arguments.length and arguments[?].
547 void GenerateArgumentsLength(ZoneList<Expression*>* args); 548 void GenerateArgumentsLength(ZoneList<Expression*>* args);
548 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 549 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 Major MajorKey() { return StringCompare; } 829 Major MajorKey() { return StringCompare; }
829 int MinorKey() { return 0; } 830 int MinorKey() { return 0; }
830 831
831 void Generate(MacroAssembler* masm); 832 void Generate(MacroAssembler* masm);
832 }; 833 };
833 834
834 835
835 } } // namespace v8::internal 836 } } // namespace v8::internal
836 837
837 #endif // V8_X64_CODEGEN_X64_H_ 838 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« src/macros.py ('K') | « src/string.js ('k') | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698