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

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

Issue 660184: Implemented one-char cache lookup in generated code. (Closed)
Patch Set: 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
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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 556 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
557 557
558 // Support for accessing the class and value fields of an object. 558 // Support for accessing the class and value fields of an object.
559 void GenerateClassOf(ZoneList<Expression*>* args); 559 void GenerateClassOf(ZoneList<Expression*>* args);
560 void GenerateValueOf(ZoneList<Expression*>* args); 560 void GenerateValueOf(ZoneList<Expression*>* args);
561 void GenerateSetValueOf(ZoneList<Expression*>* args); 561 void GenerateSetValueOf(ZoneList<Expression*>* args);
562 562
563 // Fast support for charCodeAt(n). 563 // Fast support for charCodeAt(n).
564 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); 564 void GenerateFastCharCodeAt(ZoneList<Expression*>* args);
565 565
566 // Fast support for string.charAt(n) and string[n].
567 void GenerateCharFromCode(ZoneList<Expression*>* args);
568
566 // Fast support for object equality testing. 569 // Fast support for object equality testing.
567 void GenerateObjectEquals(ZoneList<Expression*>* args); 570 void GenerateObjectEquals(ZoneList<Expression*>* args);
568 571
569 void GenerateLog(ZoneList<Expression*>* args); 572 void GenerateLog(ZoneList<Expression*>* args);
570 573
571 void GenerateGetFramePointer(ZoneList<Expression*>* args); 574 void GenerateGetFramePointer(ZoneList<Expression*>* args);
572 575
573 // Fast support for Math.random(). 576 // Fast support for Math.random().
574 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); 577 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args);
575 578
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 void Print() { 923 void Print() {
921 PrintF("NumberToStringStub\n"); 924 PrintF("NumberToStringStub\n");
922 } 925 }
923 #endif 926 #endif
924 }; 927 };
925 928
926 929
927 } } // namespace v8::internal 930 } } // namespace v8::internal
928 931
929 #endif // V8_IA32_CODEGEN_IA32_H_ 932 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698