Bug 31147

Summary: Bytecode dumping prints constants as large positive registers
Product: WebKit Reporter: Mark Rowe (bdash) <mrowe>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Regression
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Fix! sam: review+

Mark Rowe (bdash)
Reported 2009-11-04 18:04:02 PST
> 1 + 2 4 m_instructions; 36 bytes at 0048DBC0; 1 parameter(s); 1 callee register(s) [ 0] enter [ 1] mov r0, r1073741824 [ 4] mov r0, r1073741825 [ 7] end r0 Constants: r0 = undefined r1 = 3 r1073741824 and r1073741825 should be (and used to be) something saner.
Attachments
Fix! (46.11 KB, patch)
2009-11-04 18:06 PST, Mark Rowe (bdash)
sam: review+
Mark Rowe (bdash)
Comment 1 2009-11-04 18:06:12 PST
Created attachment 42534 [details] Fix! > 1 + 2 4 m_instructions; 72 bytes at 0x100725b20; 1 parameter(s); 1 callee register(s) [ 0] enter [ 1] mov r0, undefined(@k0) [ 4] mov r0, 3(@k1) [ 7] end r0 Constants: k0 = undefined k1 = 3
Mark Rowe (bdash)
Comment 2 2009-11-04 18:22:41 PST
Fixed in r50537.
Note You need to log in before you can comment on or make changes to this bug.