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 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 | 1243 |
1244 LInstruction* LChunkBuilder::DoBitNot(HBitNot* instr) { | 1244 LInstruction* LChunkBuilder::DoBitNot(HBitNot* instr) { |
1245 ASSERT(instr->value()->representation().IsInteger32()); | 1245 ASSERT(instr->value()->representation().IsInteger32()); |
1246 ASSERT(instr->representation().IsInteger32()); | 1246 ASSERT(instr->representation().IsInteger32()); |
1247 LOperand* input = UseRegisterAtStart(instr->value()); | 1247 LOperand* input = UseRegisterAtStart(instr->value()); |
1248 LBitNotI* result = new LBitNotI(input); | 1248 LBitNotI* result = new LBitNotI(input); |
1249 return DefineSameAsFirst(result); | 1249 return DefineSameAsFirst(result); |
1250 } | 1250 } |
1251 | 1251 |
1252 | 1252 |
1253 LInstruction* LChunkBuilder::DoNeg(HNeg* instr) { | |
1254 Abort("Unimplemented: %s", "DoNeg"); | |
1255 return NULL; | |
1256 } | |
1257 | |
1258 | |
1259 LInstruction* LChunkBuilder::DoBitOr(HBitOr* instr) { | 1253 LInstruction* LChunkBuilder::DoBitOr(HBitOr* instr) { |
1260 return DoBit(Token::BIT_OR, instr); | 1254 return DoBit(Token::BIT_OR, instr); |
1261 } | 1255 } |
1262 | 1256 |
1263 | 1257 |
1264 LInstruction* LChunkBuilder::DoBitXor(HBitXor* instr) { | 1258 LInstruction* LChunkBuilder::DoBitXor(HBitXor* instr) { |
1265 return DoBit(Token::BIT_XOR, instr); | 1259 return DoBit(Token::BIT_XOR, instr); |
1266 } | 1260 } |
1267 | 1261 |
1268 | 1262 |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1885 | 1879 |
1886 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 1880 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
1887 HEnvironment* outer = current_block_->last_environment()->outer(); | 1881 HEnvironment* outer = current_block_->last_environment()->outer(); |
1888 current_block_->UpdateEnvironment(outer); | 1882 current_block_->UpdateEnvironment(outer); |
1889 return NULL; | 1883 return NULL; |
1890 } | 1884 } |
1891 | 1885 |
1892 } } // namespace v8::internal | 1886 } } // namespace v8::internal |
1893 | 1887 |
1894 #endif // V8_TARGET_ARCH_X64 | 1888 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |