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

Side by Side Diff: src/types.h

Issue 133533005: Work around VS template problem (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 int GlbBitset(); // greatest lower bound that's a bitset 273 int GlbBitset(); // greatest lower bound that's a bitset
274 274
275 static int LubBitset(i::Object* value); 275 static int LubBitset(i::Object* value);
276 static int LubBitset(i::Map* map); 276 static int LubBitset(i::Map* map);
277 277
278 bool InUnion(UnionedHandle unioned, int current_size); 278 bool InUnion(UnionedHandle unioned, int current_size);
279 int ExtendUnion(UnionedHandle unioned, int current_size); 279 int ExtendUnion(UnionedHandle unioned, int current_size);
280 int ExtendIntersection( 280 int ExtendIntersection(
281 UnionedHandle unioned, TypeHandle type, int current_size); 281 UnionedHandle unioned, TypeHandle type, int current_size);
282 282
283 #ifdef OBJECT_PRINT
283 static const char* bitset_name(int bitset); 284 static const char* bitset_name(int bitset);
285 #endif
284 }; 286 };
285 287
286 288
287 struct HeapTypeConfig { 289 struct HeapTypeConfig {
288 typedef TypeImpl<HeapTypeConfig> Type; 290 typedef TypeImpl<HeapTypeConfig> Type;
289 typedef i::Object Base; 291 typedef i::Object Base;
290 typedef i::FixedArray Unioned; 292 typedef i::FixedArray Unioned;
291 typedef i::Isolate Region; 293 typedef i::Isolate Region;
292 template<class T> struct Handle { typedef i::Handle<T> type; }; 294 template<class T> struct Handle { typedef i::Handle<T> type; };
293 295
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 return BoundsImpl(lower, upper); 398 return BoundsImpl(lower, upper);
397 } 399 }
398 }; 400 };
399 401
400 typedef BoundsImpl<HeapTypeConfig> Bounds; 402 typedef BoundsImpl<HeapTypeConfig> Bounds;
401 403
402 404
403 } } // namespace v8::internal 405 } } // namespace v8::internal
404 406
405 #endif // V8_TYPES_H_ 407 #endif // V8_TYPES_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