| OLD | NEW | 
|     1 // Copyright 2011 the V8 project authors. All rights reserved. |     1 // Copyright 2011 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 2104 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2115 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { |  2115 LInstruction* LChunkBuilder::DoStackCheck(HStackCheck* instr) { | 
|  2116   return MarkAsCall(new LStackCheck, instr); |  2116   return MarkAsCall(new LStackCheck, instr); | 
|  2117 } |  2117 } | 
|  2118  |  2118  | 
|  2119  |  2119  | 
|  2120 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { |  2120 LInstruction* LChunkBuilder::DoEnterInlined(HEnterInlined* instr) { | 
|  2121   HEnvironment* outer = current_block_->last_environment(); |  2121   HEnvironment* outer = current_block_->last_environment(); | 
|  2122   HConstant* undefined = graph()->GetConstantUndefined(); |  2122   HConstant* undefined = graph()->GetConstantUndefined(); | 
|  2123   HEnvironment* inner = outer->CopyForInlining(instr->closure(), |  2123   HEnvironment* inner = outer->CopyForInlining(instr->closure(), | 
|  2124                                                instr->function(), |  2124                                                instr->function(), | 
|  2125                                                false, |  2125                                                HEnvironment::LITHIUM, | 
|  2126                                                undefined); |  2126                                                undefined); | 
|  2127   current_block_->UpdateEnvironment(inner); |  2127   current_block_->UpdateEnvironment(inner); | 
|  2128   chunk_->AddInlinedClosure(instr->closure()); |  2128   chunk_->AddInlinedClosure(instr->closure()); | 
|  2129   return NULL; |  2129   return NULL; | 
|  2130 } |  2130 } | 
|  2131  |  2131  | 
|  2132  |  2132  | 
|  2133 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |  2133 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 
|  2134   HEnvironment* outer = current_block_->last_environment()->outer(); |  2134   HEnvironment* outer = current_block_->last_environment()->outer(); | 
|  2135   current_block_->UpdateEnvironment(outer); |  2135   current_block_->UpdateEnvironment(outer); | 
|  2136   return NULL; |  2136   return NULL; | 
|  2137 } |  2137 } | 
|  2138  |  2138  | 
|  2139  |  2139  | 
|  2140 LInstruction* LChunkBuilder::DoIn(HIn* instr) { |  2140 LInstruction* LChunkBuilder::DoIn(HIn* instr) { | 
|  2141   LOperand* key = UseOrConstantAtStart(instr->key()); |  2141   LOperand* key = UseOrConstantAtStart(instr->key()); | 
|  2142   LOperand* object = UseOrConstantAtStart(instr->object()); |  2142   LOperand* object = UseOrConstantAtStart(instr->object()); | 
|  2143   LIn* result = new LIn(key, object); |  2143   LIn* result = new LIn(key, object); | 
|  2144   return MarkAsCall(DefineFixed(result, rax), instr); |  2144   return MarkAsCall(DefineFixed(result, rax), instr); | 
|  2145 } |  2145 } | 
|  2146  |  2146  | 
|  2147  |  2147  | 
|  2148 } }  // namespace v8::internal |  2148 } }  // namespace v8::internal | 
|  2149  |  2149  | 
|  2150 #endif  // V8_TARGET_ARCH_X64 |  2150 #endif  // V8_TARGET_ARCH_X64 | 
| OLD | NEW |