Bug 121057

Summary: There should be one "invalid" virtual register constant
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 118758    
Attachments:
Description Flags
Patch fpizlo: review+

Description Michael Saboff 2013-09-09 16:04:36 PDT
This is in preparation for inverting the JSC stack.  Currently a virtual register value of -1 is used as an invalid virtual register.  When the stack is inverted, -1 will be a valid register.  Some places in the code use a literal -1 while others use the enum InvalidVirtualRegister.  All places should use the InvalidVirtualRegister enum and its value should be a reasonable "invalid" value.
Comment 1 Michael Saboff 2013-09-09 16:21:05 PDT
Created attachment 211113 [details]
Patch
Comment 2 Michael Saboff 2013-09-09 23:08:44 PDT
Committed r155420: <http://trac.webkit.org/changeset/155420>