mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
Fix bug in array object iteration in debug mode
This commit is contained in:
parent
34c728b3ec
commit
ade3b949ae
2 changed files with 2 additions and 2 deletions
|
|
@ -169,7 +169,7 @@ int main(int argc, char* argv[])
|
|||
Escargot::HeapObjectIteratorCallback callback =
|
||||
[&counter](Escargot::ExecutionState& state, void* obj) {
|
||||
Escargot::ArrayObject* arr = (Escargot::ArrayObject*) obj;
|
||||
printf("ArrayObject %p with length %zu\n", obj, arr->getLength(state));
|
||||
printf("ArrayObject %p with length %u\n", obj, arr->getLength(state));
|
||||
counter++;
|
||||
};
|
||||
Escargot::ExecutionState state(context);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue