[PATCH] D63823: [InlineCost] make InlineCost assignable

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 16:41:01 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364612: [InlineCost] make InlineCost assignable (authored by fedor.sergeev, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63823?vs=206665&id=206966#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63823/new/

https://reviews.llvm.org/D63823

Files:
  llvm/trunk/include/llvm/Analysis/InlineCost.h


Index: llvm/trunk/include/llvm/Analysis/InlineCost.h
===================================================================
--- llvm/trunk/include/llvm/Analysis/InlineCost.h
+++ llvm/trunk/include/llvm/Analysis/InlineCost.h
@@ -67,10 +67,10 @@
   };
 
   /// The estimated cost of inlining this callsite.
-  const int Cost;
+  int Cost;
 
   /// The adjusted threshold against which this cost was computed.
-  const int Threshold;
+  int Threshold;
 
   /// Must be set for Always and Never instances.
   const char *Reason = nullptr;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63823.206966.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190627/065e8b3c/attachment.bin>


More information about the llvm-commits mailing list