Closed
Bug 537743
Opened 15 years ago
Closed 15 years ago
rename AvmCore::readU30 -> readU32, to reflect reality
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: edwsmith, Assigned: edwsmith)
References
Details
Attachments
(1 file, 1 obsolete file)
26.87 KB,
patch
|
stejohns
:
review+
|
Details | Diff | Splinter Review |
Other callers of AvmCore::readU30() perform range checks; this function actually reads and returns 32 bit values, so its name should reflect that.
Assignee | ||
Comment 1•15 years ago
|
||
Also in this patch:
rename Debugger::readU30 -> readU32, since it's just a wrapper around AvmCore's function.
Added PoolObject::hasMetadataName(), to encapsulate ABC parsing in the VM. (host code using metadata should not parse it directly!)
Assignee: nobody → edwsmith
Attachment #419935 -
Flags: review?(stejohns)
Comment 2•15 years ago
|
||
Comment on attachment 419935 [details] [diff] [review]
rename AvmCore::readU30 -> readU32
-- where's an example of usage of hasMetadataName?
-- this code in hasMetadataName must be changed:
int metadata_count = AvmCore::readU32(meta_pos); // naked int -> uint32_t, please
-- we should probably rename skipU30() to skipU32() at the same time, since it's semantically paired with readU30()
Attachment #419935 -
Flags: review?(stejohns) → review-
Assignee | ||
Comment 3•15 years ago
|
||
* s/int/uint32_t/ in PoolObject::hasMetadataName()
* Rename AvmCore::skipU30 -> skipU32 for parity with readU32()
Attachment #419935 -
Attachment is obsolete: true
Attachment #419938 -
Flags: review?(stejohns)
Updated•15 years ago
|
Attachment #419938 -
Flags: review?(stejohns) → review+
Assignee | ||
Comment 4•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•