changeset 3916:0c535211ef13

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 4a2ed49abd51
children a70c88896791 5c0931d15474
files src/cpu/zero/vm/assembler_zero.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/zero/vm/assembler_zero.cpp	Fri Dec 07 10:55:16 2012 -0800
+++ b/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(