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 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1223 switch (op) { | 1223 switch (op) { |
1224 case kMathAbs: | 1224 case kMathAbs: |
1225 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); | 1225 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); |
1226 case kMathFloor: | 1226 case kMathFloor: |
1227 return AssignEnvironment(AssignPointerMap(DefineAsRegister(result))); | 1227 return AssignEnvironment(AssignPointerMap(DefineAsRegister(result))); |
1228 case kMathSqrt: | 1228 case kMathSqrt: |
1229 return DefineSameAsFirst(result); | 1229 return DefineSameAsFirst(result); |
1230 case kMathRound: | 1230 case kMathRound: |
1231 return AssignEnvironment(DefineAsRegister(result)); | 1231 return AssignEnvironment(DefineAsRegister(result)); |
1232 case kMathPowHalf: | 1232 case kMathPowHalf: |
1233 Abort("MathPowHalf LUnaryMathOperation not implemented"); | 1233 return DefineSameAsFirst(result); |
1234 return NULL; | |
1235 default: | 1234 default: |
1236 UNREACHABLE(); | 1235 UNREACHABLE(); |
1237 return NULL; | 1236 return NULL; |
1238 } | 1237 } |
1239 } | 1238 } |
1240 } | 1239 } |
1241 | 1240 |
1242 | 1241 |
1243 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { | 1242 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { |
1244 ASSERT(instr->key()->representation().IsTagged()); | 1243 ASSERT(instr->key()->representation().IsTagged()); |
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2031 | 2030 |
2032 | 2031 |
2033 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2032 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2034 HEnvironment* outer = current_block_->last_environment()->outer(); | 2033 HEnvironment* outer = current_block_->last_environment()->outer(); |
2035 current_block_->UpdateEnvironment(outer); | 2034 current_block_->UpdateEnvironment(outer); |
2036 return NULL; | 2035 return NULL; |
2037 } | 2036 } |
2038 | 2037 |
2039 | 2038 |
2040 } } // namespace v8::internal | 2039 } } // namespace v8::internal |
OLD | NEW |