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

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

Issue 151018: Optimize %ClassOf() on IA-32 and use it instead of the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args); 522 void GenerateIsNonNegativeSmi(ZoneList<Expression*>* args);
523 void GenerateIsArray(ZoneList<Expression*>* args); 523 void GenerateIsArray(ZoneList<Expression*>* args);
524 524
525 // Support for construct call checks. 525 // Support for construct call checks.
526 void GenerateIsConstructCall(ZoneList<Expression*>* args); 526 void GenerateIsConstructCall(ZoneList<Expression*>* args);
527 527
528 // Support for arguments.length and arguments[?]. 528 // Support for arguments.length and arguments[?].
529 void GenerateArgumentsLength(ZoneList<Expression*>* args); 529 void GenerateArgumentsLength(ZoneList<Expression*>* args);
530 void GenerateArgumentsAccess(ZoneList<Expression*>* args); 530 void GenerateArgumentsAccess(ZoneList<Expression*>* args);
531 531
532 // Support for accessing the value field of an object (used by Date). 532 // Support for accessing the class and value fields of an object.
533 void GenerateClassOf(ZoneList<Expression*>* args);
533 void GenerateValueOf(ZoneList<Expression*>* args); 534 void GenerateValueOf(ZoneList<Expression*>* args);
534 void GenerateSetValueOf(ZoneList<Expression*>* args); 535 void GenerateSetValueOf(ZoneList<Expression*>* args);
535 536
536 // Fast support for charCodeAt(n). 537 // Fast support for charCodeAt(n).
537 void GenerateFastCharCodeAt(ZoneList<Expression*>* args); 538 void GenerateFastCharCodeAt(ZoneList<Expression*>* args);
538 539
539 // Fast support for object equality testing. 540 // Fast support for object equality testing.
540 void GenerateObjectEquals(ZoneList<Expression*>* args); 541 void GenerateObjectEquals(ZoneList<Expression*>* args);
541 542
542 void GenerateLog(ZoneList<Expression*>* args); 543 void GenerateLog(ZoneList<Expression*>* args);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 605
605 friend class CodeGeneratorPatcher; // Used in test-log-ia32.cc 606 friend class CodeGeneratorPatcher; // Used in test-log-ia32.cc
606 607
607 DISALLOW_COPY_AND_ASSIGN(CodeGenerator); 608 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
608 }; 609 };
609 610
610 611
611 } } // namespace v8::internal 612 } } // namespace v8::internal
612 613
613 #endif // V8_IA32_CODEGEN_IA32_H_ 614 #endif // V8_IA32_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | src/ia32/codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698