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

Side by Side Diff: src/ia32/codegen-ia32.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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 // name/value pairs. 544 // name/value pairs.
545 void DeclareGlobals(Handle<FixedArray> pairs); 545 void DeclareGlobals(Handle<FixedArray> pairs);
546 546
547 // Instantiate the function boilerplate. 547 // Instantiate the function boilerplate.
548 Result InstantiateBoilerplate(Handle<JSFunction> boilerplate); 548 Result InstantiateBoilerplate(Handle<JSFunction> boilerplate);
549 549
550 // Support for type checks. 550 // Support for type checks.
551 void GenerateIsSmi(ZoneList<Expression*>* args); 551 void GenerateIsSmi(ZoneList<Expression*>* args);
552 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 552 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
553 void GenerateIsArray(ZoneList<Expression*>* args); 553 void GenerateIsArray(ZoneList<Expression*>* args);
554 void GenerateIsRegExp(ZoneList<Expression*>* args);
554 void GenerateIsObject(ZoneList<Expression*>* args); 555 void GenerateIsObject(ZoneList<Expression*>* args);
555 void GenerateIsFunction(ZoneList<Expression*>* args); 556 void GenerateIsFunction(ZoneList<Expression*>* args);
556 void GenerateIsUndetectableObject(ZoneList<Expression*>* args); 557 void GenerateIsUndetectableObject(ZoneList<Expression*>* args);
557 558
558 // Support for construct call checks. 559 // Support for construct call checks.
559 void GenerateIsConstructCall(ZoneList<Expression*>* args); 560 void GenerateIsConstructCall(ZoneList<Expression*>* args);
560 561
561 // Support for arguments.length and arguments[?]. 562 // Support for arguments.length and arguments[?].
562 void GenerateArgumentsLength(ZoneList<Expression*>* args); 563 void GenerateArgumentsLength(ZoneList<Expression*>* args);
563 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 564 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 void Print() { 905 void Print() {
905 PrintF("NumberToStringStub\n"); 906 PrintF("NumberToStringStub\n");
906 } 907 }
907 #endif 908 #endif
908 }; 909 };
909 910
910 911
911 } } // namespace v8::internal 912 } } // namespace v8::internal
912 913
913 #endif // V8_IA32_CODEGEN_IA32_H_ 914 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | src/macros.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698