"Fossies" - the Fresh Open Source Software Archive

Member "qt-everywhere-src-6.3.1/qtwebengine/src/3rdparty/chromium/third_party/r8/3pp/patches/0001-Statefull-lambdas-regress-dex-size.patch" (8 Jun 2022, 936 Bytes) of package /linux/misc/qt-everywhere-src-6.3.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From 60780034d9ef3d627b16725c197403a5fe1b6a27 Mon Sep 17 00:00:00 2001
    2 From: Andrew Grieve <agrieve@chromium.org>
    3 Date: Mon, 1 Feb 2021 15:09:52 -0500
    4 Subject: [PATCH 1/4] Statefull lambdas regress dex size.
    5 
    6 Bug: b/129997269
    7 ---
    8  src/main/java/com/android/tools/r8/ir/desugar/LambdaClass.java | 3 ++-
    9  1 file changed, 2 insertions(+), 1 deletion(-)
   10 
   11 diff --git a/src/main/java/com/android/tools/r8/ir/desugar/LambdaClass.java b/src/main/java/com/android/tools/r8/ir/desugar/LambdaClass.java
   12 index 3b5a40b65..ddb1d7955 100644
   13 --- a/src/main/java/com/android/tools/r8/ir/desugar/LambdaClass.java
   14 +++ b/src/main/java/com/android/tools/r8/ir/desugar/LambdaClass.java
   15 @@ -145,7 +145,8 @@ public final class LambdaClass {
   16    }
   17  
   18    public final boolean isStateless() {
   19 -    return descriptor.isStateless();
   20 +    return false;
   21 +    // return descriptor.isStateless();
   22    }
   23  
   24    // Synthesize virtual methods.
   25 -- 
   26 2.32.0.288.g62a8d224e6-goog
   27