Java Code Examples for jdk.nashorn.internal.runtime.regexp.joni.constants.OPCode#REPEAT_INC_NG_SG
The following examples show how to use
jdk.nashorn.internal.runtime.regexp.joni.constants.OPCode#REPEAT_INC_NG_SG .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ByteCodeMachine.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 2
Source File: ByteCodeMachine.java From nashorn with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 3
Source File: ByteCodeMachine.java From jdk8u_nashorn with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 4
Source File: ByteCodeMachine.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 5
Source File: ByteCodeMachine.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 6
Source File: ByteCodeMachine.java From hottub with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 7
Source File: ByteCodeMachine.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 8
Source File: ByteCodeMachine.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 9
Source File: ByteCodeMachine.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 10
Source File: ByteCodeMachine.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private void nullCheckFound() { // null_check_found: /* empty loop founded, skip next instruction */ switch(code[ip++]) { case OPCode.JUMP: case OPCode.PUSH: ip++; // p += SIZE_RELADDR; break; case OPCode.REPEAT_INC: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG_SG: ip++; // p += SIZE_MEMNUM; break; default: throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE); } // switch }
Example 11
Source File: ArrayCompiler.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private void addOpcode(final int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; break; default: break; } }
Example 12
Source File: ArrayCompiler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private void addOpcode(final int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; break; default: break; } }
Example 13
Source File: ArrayCompiler.java From hottub with GNU General Public License v2.0 | 5 votes |
private void addOpcode(final int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; break; default: break; } }
Example 14
Source File: ArrayCompiler.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private void addOpcode(int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; } }
Example 15
Source File: ArrayCompiler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private void addOpcode(final int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; break; default: break; } }
Example 16
Source File: ArrayCompiler.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private void addOpcode(int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; } }
Example 17
Source File: ArrayCompiler.java From jdk8u_nashorn with GNU General Public License v2.0 | 5 votes |
private void addOpcode(final int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; break; default: break; } }
Example 18
Source File: ArrayCompiler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private void addOpcode(final int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; break; default: break; } }
Example 19
Source File: ArrayCompiler.java From nashorn with GNU General Public License v2.0 | 5 votes |
private void addOpcode(int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; } }
Example 20
Source File: ArrayCompiler.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private void addOpcode(final int opcode) { addInt(opcode); switch(opcode) { case OPCode.ANYCHAR_STAR: case OPCode.ANYCHAR_ML_STAR: case OPCode.ANYCHAR_STAR_PEEK_NEXT: case OPCode.ANYCHAR_ML_STAR_PEEK_NEXT: case OPCode.STATE_CHECK_ANYCHAR_STAR: case OPCode.STATE_CHECK_ANYCHAR_ML_STAR: case OPCode.MEMORY_START_PUSH: case OPCode.MEMORY_END_PUSH: case OPCode.MEMORY_END_PUSH_REC: case OPCode.MEMORY_END_REC: case OPCode.NULL_CHECK_START: case OPCode.NULL_CHECK_END_MEMST_PUSH: case OPCode.PUSH: case OPCode.STATE_CHECK_PUSH: case OPCode.STATE_CHECK_PUSH_OR_JUMP: case OPCode.STATE_CHECK: case OPCode.PUSH_OR_JUMP_EXACT1: case OPCode.PUSH_IF_PEEK_NEXT: case OPCode.REPEAT: case OPCode.REPEAT_NG: case OPCode.REPEAT_INC_SG: case OPCode.REPEAT_INC_NG: case OPCode.REPEAT_INC_NG_SG: case OPCode.PUSH_POS: case OPCode.PUSH_POS_NOT: case OPCode.PUSH_STOP_BT: case OPCode.PUSH_LOOK_BEHIND_NOT: case OPCode.CALL: case OPCode.RETURN: // it will appear only with CALL though regex.stackNeeded = true; break; default: break; } }