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

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

Issue 6022006: Revert r6088. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 10 years 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 | « src/arm/lithium-arm.cc ('k') | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 Abort("DoClassOfTestAndBranch unimplemented."); 1330 Abort("DoClassOfTestAndBranch unimplemented.");
1331 } 1331 }
1332 1332
1333 1333
1334 void LCodeGen::DoCmpMapAndBranch(LCmpMapAndBranch* instr) { 1334 void LCodeGen::DoCmpMapAndBranch(LCmpMapAndBranch* instr) {
1335 Abort("DoCmpMapAndBranch unimplemented."); 1335 Abort("DoCmpMapAndBranch unimplemented.");
1336 } 1336 }
1337 1337
1338 1338
1339 void LCodeGen::DoInstanceOf(LInstanceOf* instr) { 1339 void LCodeGen::DoInstanceOf(LInstanceOf* instr) {
1340 // We expect object and function in registers r1 and r0. 1340 Abort("DoInstanceOf unimplemented.");
1341 InstanceofStub stub(InstanceofStub::kArgsInRegisters);
1342 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
1343
1344 Label true_value, done;
1345 __ tst(r0, r0);
1346 __ mov(r0, Operand(Factory::false_value()), LeaveCC, eq);
1347 __ mov(r0, Operand(Factory::true_value()), LeaveCC, ne);
1348 } 1341 }
1349 1342
1350 1343
1351 void LCodeGen::DoInstanceOfAndBranch(LInstanceOfAndBranch* instr) { 1344 void LCodeGen::DoInstanceOfAndBranch(LInstanceOfAndBranch* instr) {
1352 Abort("DoInstanceOfAndBranch unimplemented."); 1345 Abort("DoInstanceOfAndBranch unimplemented.");
1353 } 1346 }
1354 1347
1355 1348
1356 1349
1357 static Condition ComputeCompareCondition(Token::Value op) { 1350 static Condition ComputeCompareCondition(Token::Value op) {
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
2165 2158
2166 2159
2167 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { 2160 void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
2168 Abort("DoOsrEntry unimplemented."); 2161 Abort("DoOsrEntry unimplemented.");
2169 } 2162 }
2170 2163
2171 2164
2172 #undef __ 2165 #undef __
2173 2166
2174 } } // namespace v8::internal 2167 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698