Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1482)

Side by Side Diff: src/arm/lithium-arm.cc

Issue 6461021: Add a genuine unary minus instruction to Crankshaft.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | src/hydrogen-instructions.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 } 1280 }
1281 1281
1282 1282
1283 LInstruction* LChunkBuilder::DoBitNot(HBitNot* instr) { 1283 LInstruction* LChunkBuilder::DoBitNot(HBitNot* instr) {
1284 ASSERT(instr->value()->representation().IsInteger32()); 1284 ASSERT(instr->value()->representation().IsInteger32());
1285 ASSERT(instr->representation().IsInteger32()); 1285 ASSERT(instr->representation().IsInteger32());
1286 return DefineSameAsFirst(new LBitNotI(UseRegisterAtStart(instr->value()))); 1286 return DefineSameAsFirst(new LBitNotI(UseRegisterAtStart(instr->value())));
1287 } 1287 }
1288 1288
1289 1289
1290 LInstruction* LChunkBuilder::DoNeg(HNeg* instr) {
1291 Abort("Unimplemented: %s", "DoNeg");
1292 return NULL;
1293 }
1294
1295
1290 LInstruction* LChunkBuilder::DoBitOr(HBitOr* instr) { 1296 LInstruction* LChunkBuilder::DoBitOr(HBitOr* instr) {
1291 return DoBit(Token::BIT_OR, instr); 1297 return DoBit(Token::BIT_OR, instr);
1292 } 1298 }
1293 1299
1294 1300
1295 LInstruction* LChunkBuilder::DoBitXor(HBitXor* instr) { 1301 LInstruction* LChunkBuilder::DoBitXor(HBitXor* instr) {
1296 return DoBit(Token::BIT_XOR, instr); 1302 return DoBit(Token::BIT_XOR, instr);
1297 } 1303 }
1298 1304
1299 1305
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
1948 1954
1949 1955
1950 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 1956 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
1951 HEnvironment* outer = current_block_->last_environment()->outer(); 1957 HEnvironment* outer = current_block_->last_environment()->outer();
1952 current_block_->UpdateEnvironment(outer); 1958 current_block_->UpdateEnvironment(outer);
1953 return NULL; 1959 return NULL;
1954 } 1960 }
1955 1961
1956 1962
1957 } } // namespace v8::internal 1963 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698