| 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 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1291 } | 1291 } |
| 1292 | 1292 |
| 1293 | 1293 |
| 1294 LInstruction* LChunkBuilder::DoBitNot(HBitNot* instr) { | 1294 LInstruction* LChunkBuilder::DoBitNot(HBitNot* instr) { |
| 1295 ASSERT(instr->value()->representation().IsInteger32()); | 1295 ASSERT(instr->value()->representation().IsInteger32()); |
| 1296 ASSERT(instr->representation().IsInteger32()); | 1296 ASSERT(instr->representation().IsInteger32()); |
| 1297 return DefineSameAsFirst(new LBitNotI(UseRegisterAtStart(instr->value()))); | 1297 return DefineSameAsFirst(new LBitNotI(UseRegisterAtStart(instr->value()))); |
| 1298 } | 1298 } |
| 1299 | 1299 |
| 1300 | 1300 |
| 1301 LInstruction* LChunkBuilder::DoNeg(HNeg* instr) { | |
| 1302 Abort("Unimplemented: %s", "DoNeg"); | |
| 1303 return NULL; | |
| 1304 } | |
| 1305 | |
| 1306 | |
| 1307 LInstruction* LChunkBuilder::DoBitOr(HBitOr* instr) { | 1301 LInstruction* LChunkBuilder::DoBitOr(HBitOr* instr) { |
| 1308 return DoBit(Token::BIT_OR, instr); | 1302 return DoBit(Token::BIT_OR, instr); |
| 1309 } | 1303 } |
| 1310 | 1304 |
| 1311 | 1305 |
| 1312 LInstruction* LChunkBuilder::DoBitXor(HBitXor* instr) { | 1306 LInstruction* LChunkBuilder::DoBitXor(HBitXor* instr) { |
| 1313 return DoBit(Token::BIT_XOR, instr); | 1307 return DoBit(Token::BIT_XOR, instr); |
| 1314 } | 1308 } |
| 1315 | 1309 |
| 1316 | 1310 |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1991 | 1985 |
| 1992 | 1986 |
| 1993 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 1987 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 1994 HEnvironment* outer = current_block_->last_environment()->outer(); | 1988 HEnvironment* outer = current_block_->last_environment()->outer(); |
| 1995 current_block_->UpdateEnvironment(outer); | 1989 current_block_->UpdateEnvironment(outer); |
| 1996 return NULL; | 1990 return NULL; |
| 1997 } | 1991 } |
| 1998 | 1992 |
| 1999 | 1993 |
| 2000 } } // namespace v8::internal | 1994 } } // namespace v8::internal |
| OLD | NEW |