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

Unified Diff: src/register-allocator-inl.h

Issue 1207006: Rename NumberInfo to TypeInfo.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: changed project files Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/register-allocator.cc ('k') | src/type-info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/register-allocator-inl.h
===================================================================
--- src/register-allocator-inl.h (revision 4259)
+++ src/register-allocator-inl.h (working copy)
@@ -104,36 +104,36 @@
}
-NumberInfo Result::number_info() const {
+TypeInfo Result::type_info() const {
ASSERT(is_valid());
- return NumberInfo::FromInt(NumberInfoField::decode(value_));
+ return TypeInfo::FromInt(TypeInfoField::decode(value_));
}
-void Result::set_number_info(NumberInfo info) {
+void Result::set_type_info(TypeInfo info) {
ASSERT(is_valid());
- value_ &= ~NumberInfoField::mask();
- value_ |= NumberInfoField::encode(info.ToInt());
+ value_ &= ~TypeInfoField::mask();
+ value_ |= TypeInfoField::encode(info.ToInt());
}
bool Result::is_number() const {
- return number_info().IsNumber();
+ return type_info().IsNumber();
}
bool Result::is_smi() const {
- return number_info().IsSmi();
+ return type_info().IsSmi();
}
bool Result::is_integer32() const {
- return number_info().IsInteger32();
+ return type_info().IsInteger32();
}
bool Result::is_double() const {
- return number_info().IsDouble();
+ return type_info().IsDouble();
}
} } // namespace v8::internal
« no previous file with comments | « src/register-allocator.cc ('k') | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698