| OLD | NEW | 
|     1 // Copyright 2012 the V8 project authors. All rights reserved. |     1 // Copyright 2012 the V8 project authors. All rights reserved. | 
|     2 // Redistribution and use in source and binary forms, with or without |     2 // Redistribution and use in source and binary forms, with or without | 
|     3 // modification, are permitted provided that the following conditions are |     3 // modification, are permitted provided that the following conditions are | 
|     4 // met: |     4 // met: | 
|     5 // |     5 // | 
|     6 //     * Redistributions of source code must retain the above copyright |     6 //     * Redistributions of source code must retain the above copyright | 
|     7 //       notice, this list of conditions and the following disclaimer. |     7 //       notice, this list of conditions and the following disclaimer. | 
|     8 //     * Redistributions in binary form must reproduce the above |     8 //     * Redistributions in binary form must reproduce the above | 
|     9 //       copyright notice, this list of conditions and the following |     9 //       copyright notice, this list of conditions and the following | 
|    10 //       disclaimer in the documentation and/or other materials provided |    10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 2298 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2309 LInstruction* LChunkBuilder::DoAllocate(HAllocate* instr) { |  2309 LInstruction* LChunkBuilder::DoAllocate(HAllocate* instr) { | 
|  2310   info()->MarkAsDeferredCalling(); |  2310   info()->MarkAsDeferredCalling(); | 
|  2311   LOperand* size = UseTempRegister(instr->size()); |  2311   LOperand* size = UseTempRegister(instr->size()); | 
|  2312   LOperand* temp1 = TempRegister(); |  2312   LOperand* temp1 = TempRegister(); | 
|  2313   LOperand* temp2 = TempRegister(); |  2313   LOperand* temp2 = TempRegister(); | 
|  2314   LAllocate* result = new(zone()) LAllocate(size, temp1, temp2); |  2314   LAllocate* result = new(zone()) LAllocate(size, temp1, temp2); | 
|  2315   return AssignPointerMap(DefineAsRegister(result)); |  2315   return AssignPointerMap(DefineAsRegister(result)); | 
|  2316 } |  2316 } | 
|  2317  |  2317  | 
|  2318  |  2318  | 
|  2319 LInstruction* LChunkBuilder::DoFastLiteral(HFastLiteral* instr) { |  | 
|  2320   return MarkAsCall(DefineFixed(new(zone()) LFastLiteral, r0), instr); |  | 
|  2321 } |  | 
|  2322  |  | 
|  2323  |  | 
|  2324 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) { |  2319 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) { | 
|  2325   return MarkAsCall(DefineFixed(new(zone()) LArrayLiteral, r0), instr); |  2320   return MarkAsCall(DefineFixed(new(zone()) LArrayLiteral, r0), instr); | 
|  2326 } |  2321 } | 
|  2327  |  2322  | 
|  2328  |  2323  | 
|  2329 LInstruction* LChunkBuilder::DoObjectLiteral(HObjectLiteral* instr) { |  2324 LInstruction* LChunkBuilder::DoObjectLiteral(HObjectLiteral* instr) { | 
|  2330   return MarkAsCall(DefineFixed(new(zone()) LObjectLiteral, r0), instr); |  2325   return MarkAsCall(DefineFixed(new(zone()) LObjectLiteral, r0), instr); | 
|  2331 } |  2326 } | 
|  2332  |  2327  | 
|  2333  |  2328  | 
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2540  |  2535  | 
|  2541  |  2536  | 
|  2542 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |  2537 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 
|  2543   LOperand* object = UseRegister(instr->object()); |  2538   LOperand* object = UseRegister(instr->object()); | 
|  2544   LOperand* index = UseRegister(instr->index()); |  2539   LOperand* index = UseRegister(instr->index()); | 
|  2545   return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |  2540   return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 
|  2546 } |  2541 } | 
|  2547  |  2542  | 
|  2548  |  2543  | 
|  2549 } }  // namespace v8::internal |  2544 } }  // namespace v8::internal | 
| OLD | NEW |