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 2118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
| 2140 LInstruction* LChunkBuilder::DoIn(HIn* instr) { |
| 2141 LOperand* key = UseAtStart(instr->key()); |
| 2142 LOperand* object = UseOrConstantAtStart(instr->object()); |
| 2143 LIn* result = new LIn(key, object); |
| 2144 return MarkAsCall(DefineFixed(result, rax), instr); |
| 2145 } |
| 2146 |
| 2147 |
2139 } } // namespace v8::internal | 2148 } } // namespace v8::internal |
2140 | 2149 |
2141 #endif // V8_TARGET_ARCH_X64 | 2150 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |