OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 switch (op) { | 1347 switch (op) { |
1348 case kMathAbs: | 1348 case kMathAbs: |
1349 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); | 1349 return AssignEnvironment(AssignPointerMap(DefineSameAsFirst(result))); |
1350 case kMathFloor: | 1350 case kMathFloor: |
1351 return AssignEnvironment(DefineAsRegister(result)); | 1351 return AssignEnvironment(DefineAsRegister(result)); |
1352 case kMathSqrt: | 1352 case kMathSqrt: |
1353 return DefineSameAsFirst(result); | 1353 return DefineSameAsFirst(result); |
1354 case kMathPowHalf: | 1354 case kMathPowHalf: |
1355 Abort("MathPowHalf LUnaryMathOperation not implemented"); | 1355 Abort("MathPowHalf LUnaryMathOperation not implemented"); |
1356 return NULL; | 1356 return NULL; |
1357 case kMathLog: | |
1358 Abort("MathLog LUnaryMathOperation not implemented"); | |
1359 return NULL; | |
1360 default: | 1357 default: |
1361 UNREACHABLE(); | 1358 UNREACHABLE(); |
1362 return NULL; | 1359 return NULL; |
1363 } | 1360 } |
1364 } | 1361 } |
1365 | 1362 |
1366 | 1363 |
1367 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { | 1364 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { |
1368 ASSERT(instr->key()->representation().IsTagged()); | 1365 ASSERT(instr->key()->representation().IsTagged()); |
1369 argument_count_ -= instr->argument_count(); | 1366 argument_count_ -= instr->argument_count(); |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2080 void LPointerMap::PrintTo(StringStream* stream) const { | 2077 void LPointerMap::PrintTo(StringStream* stream) const { |
2081 stream->Add("{"); | 2078 stream->Add("{"); |
2082 for (int i = 0; i < pointer_operands_.length(); ++i) { | 2079 for (int i = 0; i < pointer_operands_.length(); ++i) { |
2083 if (i != 0) stream->Add(";"); | 2080 if (i != 0) stream->Add(";"); |
2084 pointer_operands_[i]->PrintTo(stream); | 2081 pointer_operands_[i]->PrintTo(stream); |
2085 } | 2082 } |
2086 stream->Add("} @%d", position()); | 2083 stream->Add("} @%d", position()); |
2087 } | 2084 } |
2088 | 2085 |
2089 } } // namespace v8::internal | 2086 } } // namespace v8::internal |
OLD | NEW |