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

Side by Side Diff: src/ic.h

Issue 5714001: Improve our type feedback by recogizining never-executed IC calls for binary ... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years 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
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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 INT32, 538 INT32,
539 HEAP_NUMBER, 539 HEAP_NUMBER,
540 STRING, // Only used for addition operation. At least one string operand. 540 STRING, // Only used for addition operation. At least one string operand.
541 GENERIC 541 GENERIC
542 }; 542 };
543 543
544 TRBinaryOpIC() : IC(NO_EXTRA_FRAME) { } 544 TRBinaryOpIC() : IC(NO_EXTRA_FRAME) { }
545 545
546 void patch(Code* code); 546 void patch(Code* code);
547 547
548 void PatchInlinedSmiCode(Address address);
549
548 static const char* GetName(TypeInfo type_info); 550 static const char* GetName(TypeInfo type_info);
549 551
550 static State ToState(TypeInfo type_info); 552 static State ToState(TypeInfo type_info);
551 553
552 static TypeInfo GetTypeInfo(Handle<Object> left, Handle<Object> right); 554 static TypeInfo GetTypeInfo(Handle<Object> left, Handle<Object> right);
553 555
554 static TypeInfo JoinTypes(TypeInfo x, TypeInfo y); 556 static TypeInfo JoinTypes(TypeInfo x, TypeInfo y);
555 }; 557 };
556 558
557 559
(...skipping 30 matching lines...) Expand all
588 Condition GetCondition() const { return ComputeCondition(op_); } 590 Condition GetCondition() const { return ComputeCondition(op_); }
589 State GetState() { return ComputeState(target()); } 591 State GetState() { return ComputeState(target()); }
590 592
591 Token::Value op_; 593 Token::Value op_;
592 }; 594 };
593 595
594 596
595 } } // namespace v8::internal 597 } } // namespace v8::internal
596 598
597 #endif // V8_IC_H_ 599 #endif // V8_IC_H_
OLDNEW
« src/ia32/full-codegen-ia32.cc ('K') | « src/ia32/ic-ia32.cc ('k') | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698