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

Side by Side Diff: src/ic.h

Issue 6670121: Merge r7396 from bleeding edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.1/
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/code-stubs-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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 569
570 // Type Recording BinaryOpIC, that records the types of the inputs and outputs. 570 // Type Recording BinaryOpIC, that records the types of the inputs and outputs.
571 class TRBinaryOpIC: public IC { 571 class TRBinaryOpIC: public IC {
572 public: 572 public:
573 573
574 enum TypeInfo { 574 enum TypeInfo {
575 UNINITIALIZED, 575 UNINITIALIZED,
576 SMI, 576 SMI,
577 INT32, 577 INT32,
578 HEAP_NUMBER, 578 HEAP_NUMBER,
579 ODDBALL,
579 STRING, // Only used for addition operation. At least one string operand. 580 STRING, // Only used for addition operation. At least one string operand.
580 GENERIC 581 GENERIC
581 }; 582 };
582 583
583 TRBinaryOpIC() : IC(NO_EXTRA_FRAME) { } 584 TRBinaryOpIC() : IC(NO_EXTRA_FRAME) { }
584 585
585 void patch(Code* code); 586 void patch(Code* code);
586 587
587 static const char* GetName(TypeInfo type_info); 588 static const char* GetName(TypeInfo type_info);
588 589
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 631
631 Token::Value op_; 632 Token::Value op_;
632 }; 633 };
633 634
634 // Helper for TRBinaryOpIC and CompareIC. 635 // Helper for TRBinaryOpIC and CompareIC.
635 void PatchInlinedSmiCode(Address address); 636 void PatchInlinedSmiCode(Address address);
636 637
637 } } // namespace v8::internal 638 } } // namespace v8::internal
638 639
639 #endif // V8_IC_H_ 640 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698