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

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

Issue 1123043002: [strong] Fix inlining issue (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « src/x64/lithium-x64.h ('k') | src/x87/lithium-x87.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 2329 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 } 2340 }
2341 2341
2342 2342
2343 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { 2343 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
2344 DCHECK(ToRegister(instr->context()).is(esi)); 2344 DCHECK(ToRegister(instr->context()).is(esi));
2345 DCHECK(ToRegister(instr->left()).is(edx)); 2345 DCHECK(ToRegister(instr->left()).is(edx));
2346 DCHECK(ToRegister(instr->right()).is(eax)); 2346 DCHECK(ToRegister(instr->right()).is(eax));
2347 DCHECK(ToRegister(instr->result()).is(eax)); 2347 DCHECK(ToRegister(instr->result()).is(eax));
2348 2348
2349 Handle<Code> code = CodeFactory::BinaryOpIC( 2349 Handle<Code> code = CodeFactory::BinaryOpIC(
2350 isolate(), instr->op(), language_mode()).code(); 2350 isolate(), instr->op(), instr->language_mode()).code();
2351 CallCode(code, RelocInfo::CODE_TARGET, instr); 2351 CallCode(code, RelocInfo::CODE_TARGET, instr);
2352 } 2352 }
2353 2353
2354 2354
2355 template<class InstrType> 2355 template<class InstrType>
2356 void LCodeGen::EmitBranch(InstrType instr, Condition cc) { 2356 void LCodeGen::EmitBranch(InstrType instr, Condition cc) {
2357 int left_block = instr->TrueDestination(chunk_); 2357 int left_block = instr->TrueDestination(chunk_);
2358 int right_block = instr->FalseDestination(chunk_); 2358 int right_block = instr->FalseDestination(chunk_);
2359 2359
2360 int next_block = GetNextEmittedBlock(); 2360 int next_block = GetNextEmittedBlock();
(...skipping 4014 matching lines...) Expand 10 before | Expand all | Expand 10 after
6375 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6375 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6376 RecordSafepoint(Safepoint::kNoLazyDeopt); 6376 RecordSafepoint(Safepoint::kNoLazyDeopt);
6377 } 6377 }
6378 6378
6379 6379
6380 #undef __ 6380 #undef __
6381 6381
6382 } } // namespace v8::internal 6382 } } // namespace v8::internal
6383 6383
6384 #endif // V8_TARGET_ARCH_X87 6384 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.h ('k') | src/x87/lithium-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698