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

Unified Diff: runtime/vm/raw_object.h

Issue 395953002: Attempt to fix llvm 4.2 compiler errors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 38242)
+++ runtime/vm/raw_object.h (working copy)
@@ -960,12 +960,17 @@
int16_t try_index_;
};
- static const intptr_t kFullRecSize = sizeof(PcDescriptorRec);
- static const intptr_t kCompressedRecSize = kFullRecSize - sizeof(int16_t);
+ static intptr_t RecordSize(bool has_try_index) {
+ return has_try_index ? RawPcDescriptors::kFullRecSize
+ : RawPcDescriptors::kCompressedRecSize;
+ }
private:
RAW_HEAP_OBJECT_IMPLEMENTATION(PcDescriptors);
+ static const intptr_t kFullRecSize = sizeof(PcDescriptorRec);
+ static const intptr_t kCompressedRecSize = kFullRecSize - sizeof(int16_t);
+
intptr_t record_size_in_bytes_;
intptr_t length_; // Number of descriptors.
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698