| Index: runtime/vm/code_descriptors.h
|
| diff --git a/runtime/vm/code_descriptors.h b/runtime/vm/code_descriptors.h
|
| index ef56938e988543564f2b63dc2729349c4a15b079..58f1af7b7b1aca453b1708a719ae155e76f34e91 100644
|
| --- a/runtime/vm/code_descriptors.h
|
| +++ b/runtime/vm/code_descriptors.h
|
| @@ -16,12 +16,12 @@ namespace dart {
|
| class DescriptorList : public ZoneAllocated {
|
| public:
|
| explicit DescriptorList(intptr_t initial_capacity)
|
| - : encoded_data_(initial_capacity),
|
| - prev_pc_offset(0),
|
| - prev_deopt_id(0),
|
| - prev_token_pos(0) {}
|
| + : encoded_data_(initial_capacity),
|
| + prev_pc_offset(0),
|
| + prev_deopt_id(0),
|
| + prev_token_pos(0) {}
|
|
|
| - ~DescriptorList() { }
|
| + ~DescriptorList() {}
|
|
|
| void AddDescriptor(RawPcDescriptors::Kind kind,
|
| intptr_t pc_offset,
|
| @@ -45,11 +45,9 @@ class DescriptorList : public ZoneAllocated {
|
| class CodeSourceMapBuilder : public ZoneAllocated {
|
| public:
|
| explicit CodeSourceMapBuilder(intptr_t initial_capacity = 64)
|
| - : encoded_data_(initial_capacity),
|
| - prev_pc_offset(0),
|
| - prev_token_pos(0) {}
|
| + : encoded_data_(initial_capacity), prev_pc_offset(0), prev_token_pos(0) {}
|
|
|
| - ~CodeSourceMapBuilder() { }
|
| + ~CodeSourceMapBuilder() {}
|
|
|
| void AddEntry(intptr_t pc_offset, TokenPosition token_pos);
|
|
|
| @@ -70,8 +68,8 @@ class StackmapTableBuilder : public ZoneAllocated {
|
| StackmapTableBuilder()
|
| : stack_map_(Stackmap::ZoneHandle()),
|
| list_(GrowableObjectArray::ZoneHandle(
|
| - GrowableObjectArray::New(Heap::kOld))) { }
|
| - ~StackmapTableBuilder() { }
|
| + GrowableObjectArray::New(Heap::kOld))) {}
|
| + ~StackmapTableBuilder() {}
|
|
|
| void AddEntry(intptr_t pc_offset,
|
| BitmapBuilder* bitmap,
|
| @@ -94,17 +92,15 @@ class StackmapTableBuilder : public ZoneAllocated {
|
| class ExceptionHandlerList : public ZoneAllocated {
|
| public:
|
| struct HandlerDesc {
|
| - intptr_t outer_try_index; // Try block in which this try block is nested.
|
| - intptr_t pc_offset; // Handler PC offset value.
|
| - const Array* handler_types; // Catch clause guards.
|
| + intptr_t outer_try_index; // Try block in which this try block is nested.
|
| + intptr_t pc_offset; // Handler PC offset value.
|
| + const Array* handler_types; // Catch clause guards.
|
| bool needs_stacktrace;
|
| };
|
|
|
| ExceptionHandlerList() : list_() {}
|
|
|
| - intptr_t Length() const {
|
| - return list_.length();
|
| - }
|
| + intptr_t Length() const { return list_.length(); }
|
|
|
| void AddPlaceHolder() {
|
| struct HandlerDesc data;
|
|
|