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 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 case kMathFloor: | 1368 case kMathFloor: |
1369 return AssignEnvironment(DefineAsRegister(result)); | 1369 return AssignEnvironment(DefineAsRegister(result)); |
1370 case kMathSqrt: | 1370 case kMathSqrt: |
1371 return DefineSameAsFirst(result); | 1371 return DefineSameAsFirst(result); |
1372 case kMathPowHalf: | 1372 case kMathPowHalf: |
1373 Abort("MathPowHalf LUnaryMathOperation not implemented"); | 1373 Abort("MathPowHalf LUnaryMathOperation not implemented"); |
1374 return NULL; | 1374 return NULL; |
1375 case kMathLog: | 1375 case kMathLog: |
1376 Abort("MathLog LUnaryMathOperation not implemented"); | 1376 Abort("MathLog LUnaryMathOperation not implemented"); |
1377 return NULL; | 1377 return NULL; |
| 1378 case kMathCos: |
| 1379 Abort("MathCos LUnaryMathOperation not implemented"); |
| 1380 return NULL; |
| 1381 case kMathSin: |
| 1382 Abort("MathSin LUnaryMathOperation not implemented"); |
| 1383 return NULL; |
1378 default: | 1384 default: |
1379 UNREACHABLE(); | 1385 UNREACHABLE(); |
1380 return NULL; | 1386 return NULL; |
1381 } | 1387 } |
1382 } | 1388 } |
1383 | 1389 |
1384 | 1390 |
1385 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { | 1391 LInstruction* LChunkBuilder::DoCallKeyed(HCallKeyed* instr) { |
1386 ASSERT(instr->key()->representation().IsTagged()); | 1392 ASSERT(instr->key()->representation().IsTagged()); |
1387 argument_count_ -= instr->argument_count(); | 1393 argument_count_ -= instr->argument_count(); |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 void LPointerMap::PrintTo(StringStream* stream) const { | 2112 void LPointerMap::PrintTo(StringStream* stream) const { |
2107 stream->Add("{"); | 2113 stream->Add("{"); |
2108 for (int i = 0; i < pointer_operands_.length(); ++i) { | 2114 for (int i = 0; i < pointer_operands_.length(); ++i) { |
2109 if (i != 0) stream->Add(";"); | 2115 if (i != 0) stream->Add(";"); |
2110 pointer_operands_[i]->PrintTo(stream); | 2116 pointer_operands_[i]->PrintTo(stream); |
2111 } | 2117 } |
2112 stream->Add("} @%d", position()); | 2118 stream->Add("} @%d", position()); |
2113 } | 2119 } |
2114 | 2120 |
2115 } } // namespace v8::internal | 2121 } } // namespace v8::internal |
OLD | NEW |