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 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1216 switch (op) { | 1216 switch (op) { |
1217 case kMathAbs: | 1217 case kMathAbs: |
1218 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); | 1218 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); |
1219 case kMathFloor: | 1219 case kMathFloor: |
1220 return AssignEnvironment(DefineAsRegister(result)); | 1220 return AssignEnvironment(DefineAsRegister(result)); |
1221 case kMathRound: | 1221 case kMathRound: |
1222 return AssignEnvironment(DefineAsRegister(result)); | 1222 return AssignEnvironment(DefineAsRegister(result)); |
1223 case kMathSqrt: | 1223 case kMathSqrt: |
1224 return DefineSameAsFirst(result); | 1224 return DefineSameAsFirst(result); |
1225 case kMathPowHalf: | 1225 case kMathPowHalf: |
1226 return AssignEnvironment(DefineSameAsFirst(result)); | 1226 return DefineSameAsFirst(result); |
1227 default: | 1227 default: |
1228 UNREACHABLE(); | 1228 UNREACHABLE(); |
1229 return NULL; | 1229 return NULL; |
1230 } | 1230 } |
1231 } | 1231 } |
1232 } | 1232 } |
1233 | 1233 |
1234 | 1234 |
1235 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { | 1235 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { |
1236 ASSERT(instr->key()->representation().IsTagged()); | 1236 ASSERT(instr->key()->representation().IsTagged()); |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2059 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2059 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2060 HEnvironment* outer = current_block_->last_environment()->outer(); | 2060 HEnvironment* outer = current_block_->last_environment()->outer(); |
2061 current_block_->UpdateEnvironment(outer); | 2061 current_block_->UpdateEnvironment(outer); |
2062 return NULL; | 2062 return NULL; |
2063 } | 2063 } |
2064 | 2064 |
2065 | 2065 |
2066 } } // namespace v8::internal | 2066 } } // namespace v8::internal |
2067 | 2067 |
2068 #endif // V8_TARGET_ARCH_IA32 | 2068 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |