changeset 14822:ff8e8aa78776

8004668: Build failure for Zero target Summary: fixed build failure for Zero target Reviewed-by: twisti, kvn
author bharadwaj
date Fri, 07 Dec 2012 18:13:23 -0800
parents 12125dacc077
children 01fc400ed876 8bc43f610c87
files hotspot/src/cpu/zero/vm/assembler_zero.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/cpu/zero/vm/assembler_zero.cpp	Fri Dec 07 10:55:16 2012 -0800
+++ b/hotspot/src/cpu/zero/vm/assembler_zero.cpp	Fri Dec 07 18:13:23 2012 -0800
@@ -72,8 +72,7 @@
 }
 
 void MacroAssembler::advance(int bytes) {
-  _code_pos += bytes;
-  sync();
+  code_section()->set_end(code_section()->end() + bytes);
 }
 
 RegisterOrConstant MacroAssembler::delayed_value_impl(