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

Side by Side Diff: src/frame-element.h

Issue 6529055: [Isolates] Merge crankshaft (r5922 from bleeding_edge). (Closed)
Patch Set: Win32 port Created 9 years, 10 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
« no previous file with comments | « src/flags.cc ('k') | src/frames.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 } 246 }
247 247
248 // Encode type, copied, synced and data in one 32 bit integer. 248 // Encode type, copied, synced and data in one 32 bit integer.
249 uint32_t value_; 249 uint32_t value_;
250 250
251 // Declare BitFields with template parameters <type, start, size>. 251 // Declare BitFields with template parameters <type, start, size>.
252 class TypeField: public BitField<Type, 0, 3> {}; 252 class TypeField: public BitField<Type, 0, 3> {};
253 class CopiedField: public BitField<bool, 3, 1> {}; 253 class CopiedField: public BitField<bool, 3, 1> {};
254 class SyncedField: public BitField<bool, 4, 1> {}; 254 class SyncedField: public BitField<bool, 4, 1> {};
255 class UntaggedInt32Field: public BitField<bool, 5, 1> {}; 255 class UntaggedInt32Field: public BitField<bool, 5, 1> {};
256 class TypeInfoField: public BitField<int, 6, 6> {}; 256 class TypeInfoField: public BitField<int, 6, 7> {};
257 class DataField: public BitField<uint32_t, 12, 32 - 12> {}; 257 class DataField: public BitField<uint32_t, 13, 32 - 13> {};
258 258
259 friend class VirtualFrame; 259 friend class VirtualFrame;
260 }; 260 };
261 261
262 } } // namespace v8::internal 262 } } // namespace v8::internal
263 263
264 #endif // V8_FRAME_ELEMENT_H_ 264 #endif // V8_FRAME_ELEMENT_H_
OLDNEW
« no previous file with comments | « src/flags.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698