diff options
| author | yg2f | 2016-09-20 13:54:17 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-31 00:00:46 +0100 |
| commit | caf42f77d2545c665640363ae64c6a96c0fe1606 (patch) | |
| tree | 98f2c98d02022672a67d5a956331ba41f87759a8 /servers/visual_server.cpp | |
| parent | 9f9d1eed7ba8f72226701ce92318904066a35b3a (diff) | |
| download | godot-caf42f77d2545c665640363ae64c6a96c0fe1606.tar.gz godot-caf42f77d2545c665640363ae64c6a96c0fe1606.tar.zst godot-caf42f77d2545c665640363ae64c6a96c0fe1606.zip | |
Fixes #6487, GDscript compiler ignores OPCODE_LINE and OPCODE_BREAKPOINT in Release mode
When godot is in release mode, GDscript compiler does not generate
bytecodes for OPCODE_LINE and OPCODE_BREAKPOINT anymore.
This optimizes GDscript execution speed when the script contains a lot
of comments in blocs executed in loops.
Fixes #6487
(cherry picked from commit 217e09c79da008e15bd789260e8b2513689c90bd)
Diffstat (limited to 'servers/visual_server.cpp')
0 files changed, 0 insertions, 0 deletions
