Bug 1130929: Fix test of js::HeapSlot GDB pretty-printer. DONTBUILD r=sfink

This commit is contained in:
Jim Blandy 2015-02-08 20:52:58 -08:00
parent 0e792b8d54
commit d073067d48

View File

@ -14,7 +14,7 @@ run_fragment('Root.HeapSlot')
# This depends on implementation details of arrays, but since HeapSlot is
# not a public type, I'm not sure how to avoid doing *something* ugly.
assert_pretty('array->elements[0]', '$jsval("plinth")')
assert_pretty('((js::NativeObject *) array.get())->elements_[0]', '$jsval("plinth")')
run_fragment('Root.barriers');