Index: src/arm/macro-assembler-arm.cc |
=================================================================== |
--- src/arm/macro-assembler-arm.cc (revision 6680) |
+++ src/arm/macro-assembler-arm.cc (working copy) |
@@ -1151,6 +1151,7 @@ |
// Calculate new top and bail out if new space is exhausted. Use result |
// to calculate the new top. |
add(scratch2, result, Operand(obj_size_reg)); |
+ b(cs, gc_required); |
Rodolph Perfetta
2011/02/08 16:53:16
You need to set the flags in the add instruction a
|
cmp(scratch2, Operand(ip)); |
b(hi, gc_required); |
str(scratch2, MemOperand(topaddr)); |
@@ -1233,6 +1234,7 @@ |
} else { |
add(scratch2, result, Operand(object_size)); |
} |
+ b(cs, gc_required); |
Rodolph Perfetta
2011/02/08 16:53:16
ditto.
|
cmp(scratch2, Operand(ip)); |
b(hi, gc_required); |