Another attempt to fix LLVM 4.2 failure.

Review URL: https://codereview.chromium.org//395973002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38249 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
srdjan@google.com 2014-07-15 18:42:12 +00:00
parent 28f0dcf929
commit 3d71a1fdec
2 changed files with 7 additions and 4 deletions

View file

@ -497,6 +497,12 @@ bool RawInstructions::ContainsPC(RawObject* raw_obj, uword pc) {
}
intptr_t RawPcDescriptors::RecordSize(bool has_try_index) {
return has_try_index ? RawPcDescriptors::kFullRecSize
: RawPcDescriptors::kCompressedRecSize;
}
intptr_t RawPcDescriptors::VisitPcDescriptorsPointers(
RawPcDescriptors* raw_obj, ObjectPointerVisitor* visitor) {
return PcDescriptors::InstanceSize(raw_obj->ptr()->length_,

View file

@ -960,10 +960,7 @@ class RawPcDescriptors : public RawObject {
int16_t try_index_;
};
static intptr_t RecordSize(bool has_try_index) {
return has_try_index ? RawPcDescriptors::kFullRecSize
: RawPcDescriptors::kCompressedRecSize;
}
static intptr_t RecordSize(bool has_try_index);
private:
RAW_HEAP_OBJECT_IMPLEMENTATION(PcDescriptors);