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

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

Issue 660184: Implemented one-char cache lookup in generated code. (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
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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 540 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
541 541
542 // Support for accessing the class and value fields of an object. 542 // Support for accessing the class and value fields of an object.
543 void GenerateClassOf(ZoneList<Expression*>* args); 543 void GenerateClassOf(ZoneList<Expression*>* args);
544 void GenerateValueOf(ZoneList<Expression*>* args); 544 void GenerateValueOf(ZoneList<Expression*>* args);
545 void GenerateSetValueOf(ZoneList<Expression*>* args); 545 void GenerateSetValueOf(ZoneList<Expression*>* args);
546 546
547 // Fast support for charCodeAt(n). 547 // Fast support for charCodeAt(n).
548 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); 548 void GenerateFastCharCodeAt(ZoneList<Expression*>* args);
549 549
550 // Fast support for string.charAt(n) and string[n].
551 void GenerateCharFromCode(ZoneList<Expression*>* args);
552
550 // Fast support for object equality testing. 553 // Fast support for object equality testing.
551 void GenerateObjectEquals(ZoneList<Expression*>* args); 554 void GenerateObjectEquals(ZoneList<Expression*>* args);
552 555
553 void GenerateLog(ZoneList<Expression*>* args); 556 void GenerateLog(ZoneList<Expression*>* args);
554 557
555 void GenerateGetFramePointer(ZoneList<Expression*>* args); 558 void GenerateGetFramePointer(ZoneList<Expression*>* args);
556 559
557 // Fast support for Math.random(). 560 // Fast support for Math.random().
558 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); 561 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args);
559 562
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 Major MajorKey() { return StringCompare; } 830 Major MajorKey() { return StringCompare; }
828 int MinorKey() { return 0; } 831 int MinorKey() { return 0; }
829 832
830 void Generate(MacroAssembler* masm); 833 void Generate(MacroAssembler* masm);
831 }; 834 };
832 835
833 836
834 } } // namespace v8::internal 837 } } // namespace v8::internal
835 838
836 #endif // V8_X64_CODEGEN_X64_H_ 839 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698