equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
256 tree.expr = translate(tree.expr); |
256 tree.expr = translate(tree.expr); |
257 result = tree; |
257 result = tree; |
258 } |
258 } |
259 |
259 |
260 public void visitBreak(JCBreak tree) { |
260 public void visitBreak(JCBreak tree) { |
261 if (tree.isValueBreak()) |
261 result = tree; |
262 tree.value = translate(tree.value); |
262 } |
|
263 |
|
264 public void visitYield(JCYield tree) { |
|
265 tree.value = translate(tree.value); |
263 result = tree; |
266 result = tree; |
264 } |
267 } |
265 |
268 |
266 public void visitContinue(JCContinue tree) { |
269 public void visitContinue(JCContinue tree) { |
267 result = tree; |
270 result = tree; |