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

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

Issue 7355018: Merge r8623 to the 3.2 branch (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.2/
Patch Set: Created 9 years, 5 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 | « src/version.cc ('k') | no next file » | no next file with comments »
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 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 } 1239 }
1240 1240
1241 1241
1242 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { 1242 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
1243 ASSERT(ToRegister(instr->InputAt(0)).is(rdx)); 1243 ASSERT(ToRegister(instr->InputAt(0)).is(rdx));
1244 ASSERT(ToRegister(instr->InputAt(1)).is(rax)); 1244 ASSERT(ToRegister(instr->InputAt(1)).is(rax));
1245 ASSERT(ToRegister(instr->result()).is(rax)); 1245 ASSERT(ToRegister(instr->result()).is(rax));
1246 1246
1247 TypeRecordingBinaryOpStub stub(instr->op(), NO_OVERWRITE); 1247 TypeRecordingBinaryOpStub stub(instr->op(), NO_OVERWRITE);
1248 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); 1248 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr);
1249 __ nop(); // Signals no inlined code.
1249 } 1250 }
1250 1251
1251 1252
1252 int LCodeGen::GetNextEmittedBlock(int block) { 1253 int LCodeGen::GetNextEmittedBlock(int block) {
1253 for (int i = block + 1; i < graph()->blocks()->length(); ++i) { 1254 for (int i = block + 1; i < graph()->blocks()->length(); ++i) {
1254 LLabel* label = chunk_->GetLabel(i); 1255 LLabel* label = chunk_->GetLabel(i);
1255 if (!label->HasReplacement()) return i; 1256 if (!label->HasReplacement()) return i;
1256 } 1257 }
1257 return -1; 1258 return -1;
1258 } 1259 }
(...skipping 2747 matching lines...) Expand 10 before | Expand all | Expand 10 after
4006 RegisterEnvironmentForDeoptimization(environment); 4007 RegisterEnvironmentForDeoptimization(environment);
4007 ASSERT(osr_pc_offset_ == -1); 4008 ASSERT(osr_pc_offset_ == -1);
4008 osr_pc_offset_ = masm()->pc_offset(); 4009 osr_pc_offset_ = masm()->pc_offset();
4009 } 4010 }
4010 4011
4011 #undef __ 4012 #undef __
4012 4013
4013 } } // namespace v8::internal 4014 } } // namespace v8::internal
4014 4015
4015 #endif // V8_TARGET_ARCH_X64 4016 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/version.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698