History log of /PHP-8.2/Zend/zend_vm_gen.php (Results 1 – 25 of 333)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 3f7ec69b 12-Jun-2022 Ilija Tovilo

Collapse more generated files in PRs (#8754)

* The generated VM files
* tokenizer_data.c

# b4285e55 25-May-2022 Bob Weinand

Ensure vm_spec_handlers exists for all opcodes <= 255 so that user defined higher opcodes do not read outside buffer

This largely has no effect in practice, but ASAN will complain then.

# 9a90bd70 12-Mar-2022 Ilija Tovilo

Deprecate ${} string interpolation

https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

# 55a4bae5 30-Dec-2021 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Handle holes in zend_get_opcode_id()


# b63e4cf7 30-Dec-2021 Nikita Popov

Handle holes in zend_get_opcode_id()

Some opcodes may currently not be allocated.

# c8dca00d 01-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix clobering of operand by error handler in assignment to string offset


# 9786eac9 01-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix clobering of operand by error handler in assignment to string offset


# 09547c64 01-Dec-2021 Dmitry Stogov

Fix clobering of operand by error handler in assignment to string offset

In some cases new code requires two reallocations insead of one.

Fixes oss-fuzz #31716, #36196, #39739 and #

Fix clobering of operand by error handler in assignment to string offset

In some cases new code requires two reallocations insead of one.

Fixes oss-fuzz #31716, #36196, #39739 and #40002

show more ...

# cacafd36 04-Nov-2021 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Suppress unused label warnings in SWITCH VM


# 5d2f3d45 04-Nov-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Suppress unused label warnings in SWITCH VM


# ee377744 04-Nov-2021 Nikita Popov

Suppress unused label warnings in SWITCH VM

While we avoid emitting labels for handlers that are not referenced
from anywhere else, we do not perform a fine-grained analysis on
used

Suppress unused label warnings in SWITCH VM

While we avoid emitting labels for handlers that are not referenced
from anywhere else, we do not perform a fine-grained analysis on
used specializations, so some of the specialization labels may not
be used. Use ATTRIBUTE_UNUSED_LABEL to suppress the warning. Drop
"cold" from the definition of this attribute, as it is completely
unrelated.

show more ...

# da0d246e 19-Oct-2021 Nikita Popov

Drop FREE_OP_VAR_PTR() distinction

FREE_OP_VAR_PTR() is like FREE_OP(), but only frees VAR, rather
than VARs and TMPs. I don't think this distinction makes sense
anymore, as opcodes

Drop FREE_OP_VAR_PTR() distinction

FREE_OP_VAR_PTR() is like FREE_OP(), but only frees VAR, rather
than VARs and TMPs. I don't think this distinction makes sense
anymore, as opcodes using FREE_OP_VAR_PTR() generally only accept
VAR or CV. For the cases where other op types are accepted and
only freeing VAR is desired we already have FREE_OP_IF_VAR().

This drops FREE_OP_VAR_PTR(), leaving only FREE_OP() and
FREE_OP_IF_VAR().

show more ...

# 58a0c5a2 19-Oct-2021 Nikita Popov

Remove stale variables from zend_vm_gen.php

These "unfetched" variants no longer exist.

# c3dda473 02-Oct-2021 Kamil Tekiela

Fix 'can not' in test data and in code comments

# 60ea2cbf 29-Jul-2021 Hao Sun

Fix a typo in function execute_ex (#7315)

# 5fe20625 18-May-2021 Dmitry Stogov

Correct DWARF frame description.

Now GDB correctly shows backtraces that involves JIT-ed code for
functional/tracing JIT, HYBRID/CALL VM, x86/AArch64 CPU.
(opcache.jit_debug=0x100 sh

Correct DWARF frame description.

Now GDB correctly shows backtraces that involves JIT-ed code for
functional/tracing JIT, HYBRID/CALL VM, x86/AArch64 CPU.
(opcache.jit_debug=0x100 should be set).

show more ...

# 997374f4 26-Apr-2021 Dmitry Stogov

Disable "red zone" usage (it leads to crashes).

# 57f2fe44 26-Apr-2021 Dmitry Stogov

Use "red zone" for HYBRID VM.
Support for CALL VM and VM without global register variables.

# 57eb29f1 06-Apr-2021 Nikita Popov

Update zend_vm_gen.php with zend_vm_opcode.c/h changes

The generated files were modified directly, resulting in mysterious
build failures depending on exact build order.

# b86dfb0e 15-Feb-2021 Max Semenik

Fix E_DEPRECATED in zend_vm_gen.php

explode(): Passing null to parameter #2 ($string) of type string is
deprecated

Closes GH-6698.

# de5b4221 17-Feb-2021 Nikita Popov

Avoid writing zend_vm_opcodes.h if it did not change

Now that we track header changes, a change to zend_vm_opcodes.h
requires rebuilding essentially the whole tree. In most cases,
ch

Avoid writing zend_vm_opcodes.h if it did not change

Now that we track header changes, a change to zend_vm_opcodes.h
requires rebuilding essentially the whole tree. In most cases,
changes to zend_vm_def.h don't actually result in any header
changes though.

Avoid touching the file by first checking whether the to be written
contents are actually the same.

show more ...

# cbfdc1fd 17-Feb-2021 Alex Erohin

Coding style tweaks for zend_vm_gen.php

- fixed array style for $vm_kind_name and $op_types
- deleted unnecessary else statement for is_hot_helper function
- fixed concatenation styl

Coding style tweaks for zend_vm_gen.php

- fixed array style for $vm_kind_name and $op_types
- deleted unnecessary else statement for is_hot_helper function
- fixed concatenation style
- fixed style of using whitespace between "(" and switch/foreach - replaced !is_null with "!=="

Closes GH-6704.

show more ...

# 8ad2b59e 01-Dec-2020 Dmitry Stogov

Disable stack reuse optimization for x86 PIC code. It may clobber local variable used for Global Offset Table.

# 841b00f6 30-Nov-2020 Dmitry Stogov

Preallocate stack space for JIT in execute_ex() to eliminate JIT prologue/epilogue.

# 58d41b8c 11-Nov-2020 Sammy Kaye Powers

Provide unused retvals to observers

Make sure that the return value is available to observers, even if
it is not used by the caller.

Closes GH-6422.

12345678910>>...14