mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:12:45 +00:00 
			
		
		
		
	LibJS/Bytecode: Use proper this for receiver in get/set for super expr
				
					
				
			Summary:
    Diff Tests:
        +14 ✅    -2 ❌    -12 📝
			
			
This commit is contained in:
		
							parent
							
								
									b7d23162cc
								
							
						
					
					
						commit
						b271d9a6bf
					
				
					 6 changed files with 323 additions and 38 deletions
				
			
		|  | @ -122,9 +122,13 @@ static NonnullOwnPtr<BasicBlock> eliminate_loads(BasicBlock const& block, size_t | |||
|             // These can trigger proxies, which call into user code
 | ||||
|             // So these are treated like calls
 | ||||
|         case GetByValue: | ||||
|         case GetByValueWithThis: | ||||
|         case GetById: | ||||
|         case GetByIdWithThis: | ||||
|         case PutByValue: | ||||
|         case PutByValueWithThis: | ||||
|         case PutById: | ||||
|         case PutByIdWithThis: | ||||
|             // Attribute accesses (`a.o` or `a[o]`) may result in calls to getters or setters
 | ||||
|             // or may trigger proxies
 | ||||
|             // So these are treated like calls
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Luke Wilde
						Luke Wilde