1023 // These are messages from ciTypeFlow that don't |
1023 // These are messages from ciTypeFlow that don't |
1024 // actually correspond to generated code. |
1024 // actually correspond to generated code. |
1025 return; |
1025 return; |
1026 } |
1026 } |
1027 try { |
1027 try { |
|
1028 UncommonTrap unc = new UncommonTrap(Integer.parseInt(search(atts, "bci")), |
|
1029 search(atts, "reason"), |
|
1030 search(atts, "action"), |
|
1031 bytecodes[current_bytecode]); |
1028 if (scopes.size() == 0) { |
1032 if (scopes.size() == 0) { |
1029 reportInternalError("scope underflow"); |
1033 // There may be a dangling site not yet in scopes after a late_inline |
|
1034 if (site != null) { |
|
1035 site.add(unc); |
|
1036 } else { |
|
1037 reportInternalError("scope underflow"); |
|
1038 } |
|
1039 } else { |
|
1040 scopes.peek().add(unc); |
1030 } |
1041 } |
1031 scopes.peek().add(new UncommonTrap(Integer.parseInt(search(atts, "bci")), |
|
1032 search(atts, "reason"), |
|
1033 search(atts, "action"), |
|
1034 bytecodes[current_bytecode])); |
|
1035 } catch (Error e) { |
1042 } catch (Error e) { |
1036 e.printStackTrace(); |
1043 e.printStackTrace(); |
1037 } |
1044 } |
1038 } |
1045 } |
1039 } else if (qname.startsWith("eliminate_lock")) { |
1046 } else if (qname.startsWith("eliminate_lock")) { |