mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Reorder fields in some classes for more compact memory layout
This commit is contained in:
parent
f849f024e5
commit
9b15db25f6
11 changed files with 22 additions and 24 deletions
|
@ -411,8 +411,8 @@ protected:
|
|||
[[noreturn]] void RuntimeErrorWithCallStack(const std::string& msg) const;
|
||||
|
||||
BroExprTag tag;
|
||||
TypePtr type;
|
||||
bool paren;
|
||||
TypePtr type;
|
||||
|
||||
// The original expression from which this statement was
|
||||
// derived, if any. Used as an aid for generating meaningful
|
||||
|
@ -907,10 +907,10 @@ protected:
|
|||
bool TypeCheckArithmetics(TypeTag bt1, TypeTag bt2);
|
||||
|
||||
bool is_init;
|
||||
bool is_temp = false; // Optimization related
|
||||
|
||||
ValPtr val; // optional
|
||||
|
||||
// Optimization-related:
|
||||
bool is_temp = false;
|
||||
};
|
||||
|
||||
class IndexSliceAssignExpr final : public AssignExpr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue