From 07c21d0d27a1bbdaab0f5e9529e904ef60e3edc2 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sat, 6 Jun 2020 23:09:14 +0200 Subject: [PATCH] src: reduce FileHandle size by reordering fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/33784 Reviewed-By: Michaël Zasso Reviewed-By: Gerhard Stöbich Reviewed-By: David Carlier Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Benjamin Gruenbaum --- src/node_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_file.h b/src/node_file.h index 39c9034f669ea7..ad493bd944c20c 100644 --- a/src/node_file.h +++ b/src/node_file.h @@ -319,10 +319,10 @@ class FileHandle final : public AsyncWrap, public StreamBase { int fd_; bool closing_ = false; bool closed_ = false; + bool reading_ = false; int64_t read_offset_ = -1; int64_t read_length_ = -1; - bool reading_ = false; BaseObjectPtr current_read_; BaseObjectPtr binding_data_;