diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-20 23:47:35 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-20 23:47:35 +0000 |
commit | 6b40961666f073231ed8a76e6e33deeda063cde7 (patch) | |
tree | 8247eb4232e8be98b7f61bd68bab2fd1a9f06ca3 /gcc/tree-object-size.c | |
parent | e6b1b76450af5f98696ecedd4bd9a0ed18cdb2a6 (diff) | |
parent | fc1ce0cf396bf638746d546a557158d87f13849b (diff) | |
download | gcc-6b40961666f073231ed8a76e6e33deeda063cde7.tar.gz |
Merge in trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@203881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-object-size.c')
-rw-r--r-- | gcc/tree-object-size.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c index 924c4776411..92745538d0d 100644 --- a/gcc/tree-object-size.c +++ b/gcc/tree-object-size.c @@ -392,7 +392,8 @@ alloc_object_size (const_gimple call, int object_size_type) if (!callee) return unknown[object_size_type]; - alloc_size = lookup_attribute ("alloc_size", TYPE_ATTRIBUTES (TREE_TYPE(callee))); + alloc_size = lookup_attribute ("alloc_size", + TYPE_ATTRIBUTES (TREE_TYPE (callee))); if (alloc_size && TREE_VALUE (alloc_size)) { tree p = TREE_VALUE (alloc_size); @@ -1282,12 +1283,12 @@ const pass_data pass_data_object_sizes = class pass_object_sizes : public gimple_opt_pass { public: - pass_object_sizes(gcc::context *ctxt) - : gimple_opt_pass(pass_data_object_sizes, ctxt) + pass_object_sizes (gcc::context *ctxt) + : gimple_opt_pass (pass_data_object_sizes, ctxt) {} /* opt_pass methods: */ - opt_pass * clone () { return new pass_object_sizes (ctxt_); } + opt_pass * clone () { return new pass_object_sizes (m_ctxt); } unsigned int execute () { return compute_object_sizes (); } }; // class pass_object_sizes |