Chromium Code Reviews| 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 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1068 LInstruction* result = | 1068 LInstruction* result = |
| 1069 new LInstanceOf(UseFixed(instr->left(), r0), | 1069 new LInstanceOf(UseFixed(instr->left(), r0), |
| 1070 UseFixed(instr->right(), r1)); | 1070 UseFixed(instr->right(), r1)); |
| 1071 return MarkAsCall(DefineFixed(result, r0), instr); | 1071 return MarkAsCall(DefineFixed(result, r0), instr); |
| 1072 } | 1072 } |
| 1073 | 1073 |
| 1074 | 1074 |
| 1075 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( | 1075 LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal( |
| 1076 HInstanceOfKnownGlobal* instr) { | 1076 HInstanceOfKnownGlobal* instr) { |
| 1077 LInstruction* result = | 1077 LInstruction* result = |
| 1078 new LInstanceOfKnownGlobal(UseFixed(instr->value(), r0)); | 1078 new LInstanceOfKnownGlobal(UseFixed(instr->value(), r0), FixedTemp(r4)); |
| 1079 return MarkAsCall(DefineFixed(result, r0), instr); | 1079 return MarkAsCall(DefineFixed(result, r0), instr); |
|
Søren Thygesen Gjesse
2011/01/17 13:18:07
Now that we have fast straight line code and slow
Alexandre
2011/01/17 18:06:41
Done.
| |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 | 1082 |
| 1083 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { | 1083 LInstruction* LChunkBuilder::DoApplyArguments(HApplyArguments* instr) { |
| 1084 LOperand* function = UseFixed(instr->function(), r1); | 1084 LOperand* function = UseFixed(instr->function(), r1); |
| 1085 LOperand* receiver = UseFixed(instr->receiver(), r0); | 1085 LOperand* receiver = UseFixed(instr->receiver(), r0); |
| 1086 LOperand* length = UseRegisterAtStart(instr->length()); | 1086 LOperand* length = UseRegisterAtStart(instr->length()); |
| 1087 LOperand* elements = UseRegisterAtStart(instr->elements()); | 1087 LOperand* elements = UseRegisterAtStart(instr->elements()); |
| 1088 LInstruction* result = new LApplyArguments(function, | 1088 LInstruction* result = new LApplyArguments(function, |
| 1089 receiver, | 1089 receiver, |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1835 | 1835 |
| 1836 | 1836 |
| 1837 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 1837 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 1838 HEnvironment* outer = current_block_->last_environment()->outer(); | 1838 HEnvironment* outer = current_block_->last_environment()->outer(); |
| 1839 current_block_->UpdateEnvironment(outer); | 1839 current_block_->UpdateEnvironment(outer); |
| 1840 return NULL; | 1840 return NULL; |
| 1841 } | 1841 } |
| 1842 | 1842 |
| 1843 | 1843 |
| 1844 } } // namespace v8::internal | 1844 } } // namespace v8::internal |
| OLD | NEW |