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

Side by Side Diff: src/ic.h

Issue 6759025: Version 3.2.6 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 9 years, 8 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/ia32/stub-cache-ia32.cc ('k') | src/ic.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-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 603
604 // Type Recording BinaryOpIC, that records the types of the inputs and outputs. 604 // Type Recording BinaryOpIC, that records the types of the inputs and outputs.
605 class TRBinaryOpIC: public IC { 605 class TRBinaryOpIC: public IC {
606 public: 606 public:
607 607
608 enum TypeInfo { 608 enum TypeInfo {
609 UNINITIALIZED, 609 UNINITIALIZED,
610 SMI, 610 SMI,
611 INT32, 611 INT32,
612 HEAP_NUMBER, 612 HEAP_NUMBER,
613 ODDBALL,
613 STRING, // Only used for addition operation. At least one string operand. 614 STRING, // Only used for addition operation. At least one string operand.
614 GENERIC 615 GENERIC
615 }; 616 };
616 617
617 explicit TRBinaryOpIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { } 618 explicit TRBinaryOpIC(Isolate* isolate) : IC(NO_EXTRA_FRAME, isolate) { }
618 619
619 void patch(Code* code); 620 void patch(Code* code);
620 621
621 static const char* GetName(TypeInfo type_info); 622 static const char* GetName(TypeInfo type_info);
622 623
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 666
666 Token::Value op_; 667 Token::Value op_;
667 }; 668 };
668 669
669 // Helper for TRBinaryOpIC and CompareIC. 670 // Helper for TRBinaryOpIC and CompareIC.
670 void PatchInlinedSmiCode(Address address); 671 void PatchInlinedSmiCode(Address address);
671 672
672 } } // namespace v8::internal 673 } } // namespace v8::internal
673 674
674 #endif // V8_IC_H_ 675 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698