mirror of
https://github.com/dart-lang/sdk
synced 2024-09-22 05:31:22 +00:00
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:
parent
28f0dcf929
commit
3d71a1fdec
|
@ -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_,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue