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

Side by Side Diff: src/hydrogen-instructions.h

Issue 24087004: Remove unused method HType::IsTagged(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 } 367 }
368 368
369 bool Equals(const HType& other) const { 369 bool Equals(const HType& other) const {
370 return type_ == other.type_; 370 return type_ == other.type_;
371 } 371 }
372 372
373 bool IsSubtypeOf(const HType& other) { 373 bool IsSubtypeOf(const HType& other) {
374 return Combine(other).Equals(other); 374 return Combine(other).Equals(other);
375 } 375 }
376 376
377 bool IsTagged() const {
378 return ((type_ & kTagged) == kTagged);
379 }
380
381 bool IsTaggedPrimitive() const { 377 bool IsTaggedPrimitive() const {
382 return ((type_ & kTaggedPrimitive) == kTaggedPrimitive); 378 return ((type_ & kTaggedPrimitive) == kTaggedPrimitive);
383 } 379 }
384 380
385 bool IsTaggedNumber() const { 381 bool IsTaggedNumber() const {
386 return ((type_ & kTaggedNumber) == kTaggedNumber); 382 return ((type_ & kTaggedNumber) == kTaggedNumber);
387 } 383 }
388 384
389 bool IsSmi() const { 385 bool IsSmi() const {
390 return ((type_ & kSmi) == kSmi); 386 return ((type_ & kSmi) == kSmi);
(...skipping 6566 matching lines...) Expand 10 before | Expand all | Expand 10 after
6957 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 6953 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
6958 }; 6954 };
6959 6955
6960 6956
6961 #undef DECLARE_INSTRUCTION 6957 #undef DECLARE_INSTRUCTION
6962 #undef DECLARE_CONCRETE_INSTRUCTION 6958 #undef DECLARE_CONCRETE_INSTRUCTION
6963 6959
6964 } } // namespace v8::internal 6960 } } // namespace v8::internal
6965 6961
6966 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6962 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698