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

Side by Side Diff: src/arm/codegen-arm.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
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | src/arm/codegen-arm.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 363 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
364 364
365 // Support for accessing the class and value fields of an object. 365 // Support for accessing the class and value fields of an object.
366 void GenerateClassOf(ZoneList<Expression*>* args); 366 void GenerateClassOf(ZoneList<Expression*>* args);
367 void GenerateValueOf(ZoneList<Expression*>* args); 367 void GenerateValueOf(ZoneList<Expression*>* args);
368 void GenerateSetValueOf(ZoneList<Expression*>* args); 368 void GenerateSetValueOf(ZoneList<Expression*>* args);
369 369
370 // Fast support for charCodeAt(n). 370 // Fast support for charCodeAt(n).
371 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); 371 void GenerateFastCharCodeAt(ZoneList<Expression*>* args);
372 372
373 // Fast support for string.charAt(n) and string[n].
374 void GenerateCharFromCode(ZoneList<Expression*>* args);
375
373 // Fast support for object equality testing. 376 // Fast support for object equality testing.
374 void GenerateObjectEquals(ZoneList<Expression*>* args); 377 void GenerateObjectEquals(ZoneList<Expression*>* args);
375 378
376 void GenerateLog(ZoneList<Expression*>* args); 379 void GenerateLog(ZoneList<Expression*>* args);
377 380
378 // Fast support for Math.random(). 381 // Fast support for Math.random().
379 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args); 382 void GenerateRandomPositiveSmi(ZoneList<Expression*>* args);
380 383
381 // Fast support for StringAdd. 384 // Fast support for StringAdd.
382 void GenerateStringAdd(ZoneList<Expression*>* args); 385 void GenerateStringAdd(ZoneList<Expression*>* args);
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 Major MajorKey() { return StringCompare; } 622 Major MajorKey() { return StringCompare; }
620 int MinorKey() { return 0; } 623 int MinorKey() { return 0; }
621 624
622 void Generate(MacroAssembler* masm); 625 void Generate(MacroAssembler* masm);
623 }; 626 };
624 627
625 628
626 } } // namespace v8::internal 629 } } // namespace v8::internal
627 630
628 #endif // V8_ARM_CODEGEN_ARM_H_ 631 #endif // V8_ARM_CODEGEN_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/codegen-arm.cc » ('j') | src/arm/codegen-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698