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

Side by Side Diff: src/type-info.h

Issue 2452002: ARM: Track Smis on top 4 stack positions and Smi loop variables.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 6 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 29 matching lines...) Expand all
40 // Number String 40 // Number String
41 // / | | 41 // / | |
42 // Double Integer32 | 42 // Double Integer32 |
43 // | | / 43 // | | /
44 // | Smi / 44 // | Smi /
45 // | / / 45 // | / /
46 // Uninitialized. 46 // Uninitialized.
47 47
48 class TypeInfo { 48 class TypeInfo {
49 public: 49 public:
50 TypeInfo() { } 50 TypeInfo() : type_(kUnknownType) { }
51 51
52 static inline TypeInfo Unknown(); 52 static inline TypeInfo Unknown();
53 // We know it's a primitive type. 53 // We know it's a primitive type.
54 static inline TypeInfo Primitive(); 54 static inline TypeInfo Primitive();
55 // We know it's a number of some sort. 55 // We know it's a number of some sort.
56 static inline TypeInfo Number(); 56 static inline TypeInfo Number();
57 // We know it's signed or unsigned 32 bit integer. 57 // We know it's signed or unsigned 32 bit integer.
58 static inline TypeInfo Integer32(); 58 static inline TypeInfo Integer32();
59 // We know it's a Smi. 59 // We know it's a Smi.
60 static inline TypeInfo Smi(); 60 static inline TypeInfo Smi();
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 236
237 237
238 TypeInfo TypeInfo::Uninitialized() { 238 TypeInfo TypeInfo::Uninitialized() {
239 return TypeInfo(kUninitializedType); 239 return TypeInfo(kUninitializedType);
240 } 240 }
241 241
242 } } // namespace v8::internal 242 } } // namespace v8::internal
243 243
244 #endif // V8_TYPE_INFO_H_ 244 #endif // V8_TYPE_INFO_H_
OLDNEW
« src/arm/codegen-arm.cc ('K') | « src/data-flow.cc ('k') | src/virtual-frame-light.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698