--- parser3/src/main/compile_tools.C 2024/11/04 03:53:25 1.83 +++ parser3/src/main/compile_tools.C 2026/04/23 18:50:11 1.84 @@ -13,7 +13,7 @@ #include "pa_vdouble.h" #include "pa_vmethod_frame.h" -volatile const char * IDENT_COMPILE_TOOLS_C="$Id: compile_tools.C,v 1.83 2024/11/04 03:53:25 moko Exp $" IDENT_COMPILE_TOOLS_H; +volatile const char * IDENT_COMPILE_TOOLS_C="$Id: compile_tools.C,v 1.84 2026/04/23 18:50:11 moko Exp $" IDENT_COMPILE_TOOLS_H; Value* LA2V(ArrayOperation& literal_string_array, int offset, OP::OPCODE code) { return literal_string_array[offset+0].code==code?literal_string_array[offset+2/*skip opcode&origin*/].value @@ -72,7 +72,6 @@ bool maybe_make_self(ArrayOperation& opc return false; } -#ifdef OPTIMIZE_BYTECODE_GET_ELEMENT__SPECIAL bool maybe_append_simple_diving_code(ArrayOperation& code, ArrayOperation& diving_code){ if( diving_code.count()==3 @@ -86,6 +85,7 @@ bool maybe_append_simple_diving_code(Arr } } +#ifdef OPTIMIZE_BYTECODE_GET_ELEMENT__SPECIAL bool is_special_element(ArrayOperation& opcodes){ const String* name=LA2S(opcodes); return name && ( SYMBOLS_EQ(*name,CLASS_SYMBOL) || SYMBOLS_EQ(*name,CLASS_NAME_SYMBOL) );