| 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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 LInstanceOfKnownGlobal* result = | 1081 LInstanceOfKnownGlobal* result = |
| 1082 new LInstanceOfKnownGlobal(UseFixed(instr->value(), r0), FixedTemp(r4)); | 1082 new LInstanceOfKnownGlobal(UseFixed(instr->value(), r0), FixedTemp(r4)); |
| 1083 MarkAsSaveDoubles(result); | 1083 MarkAsSaveDoubles(result); |
| 1084 return AssignEnvironment(AssignPointerMap(DefineFixed(result, r0))); | 1084 return AssignEnvironment(AssignPointerMap(DefineFixed(result, r0))); |
| 1085 } | 1085 } |
| 1086 | 1086 |
| 1087 | 1087 |
| 1088 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { | 1088 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { |
| 1089 LOperand* function = UseFixed(instr->function(), r1); | 1089 LOperand* function = UseFixed(instr->function(), r1); |
| 1090 LOperand* receiver = UseFixed(instr->receiver(), r0); | 1090 LOperand* receiver = UseFixed(instr->receiver(), r0); |
| 1091 LOperand* length = UseRegisterAtStart(instr->length()); | 1091 LOperand* length = UseFixed(instr->length(), r2); |
| 1092 LOperand* elements = UseRegisterAtStart(instr->elements()); | 1092 LOperand* elements = UseFixed(instr->elements(), r3); |
| 1093 LApplyArguments* result = new LApplyArguments(function, | 1093 LApplyArguments* result = new LApplyArguments(function, |
| 1094 receiver, | 1094 receiver, |
| 1095 length, | 1095 length, |
| 1096 elements); | 1096 elements); |
| 1097 return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY); | 1097 return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY); |
| 1098 } | 1098 } |
| 1099 | 1099 |
| 1100 | 1100 |
| 1101 LInstruction* LChunkBuilder::DoPushArgument(HPushArgument* instr) { | 1101 LInstruction* LChunkBuilder::DoPushArgument(HPushArgument* instr) { |
| 1102 ++argument_count_; | 1102 ++argument_count_; |
| (...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1873 | 1873 |
| 1874 | 1874 |
| 1875 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 1875 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 1876 HEnvironment* outer = current_block_->last_environment()->outer(); | 1876 HEnvironment* outer = current_block_->last_environment()->outer(); |
| 1877 current_block_->UpdateEnvironment(outer); | 1877 current_block_->UpdateEnvironment(outer); |
| 1878 return NULL; | 1878 return NULL; |
| 1879 } | 1879 } |
| 1880 | 1880 |
| 1881 | 1881 |
| 1882 } } // namespace v8::internal | 1882 } } // namespace v8::internal |
| OLD | NEW |