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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.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_IA32 7 #if V8_TARGET_ARCH_IA32
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 2059 matching lines...) Expand 10 before | Expand all | Expand 10 after
2070 } 2070 }
2071 2071
2072 2072
2073 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { 2073 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
2074 DCHECK(ToRegister(instr->context()).is(esi)); 2074 DCHECK(ToRegister(instr->context()).is(esi));
2075 DCHECK(ToRegister(instr->left()).is(edx)); 2075 DCHECK(ToRegister(instr->left()).is(edx));
2076 DCHECK(ToRegister(instr->right()).is(eax)); 2076 DCHECK(ToRegister(instr->right()).is(eax));
2077 DCHECK(ToRegister(instr->result()).is(eax)); 2077 DCHECK(ToRegister(instr->result()).is(eax));
2078 2078
2079 Handle<Code> code = CodeFactory::BinaryOpIC( 2079 Handle<Code> code = CodeFactory::BinaryOpIC(
2080 isolate(), instr->op(), language_mode()).code(); 2080 isolate(), instr->op(), instr->language_mode()).code();
2081 CallCode(code, RelocInfo::CODE_TARGET, instr); 2081 CallCode(code, RelocInfo::CODE_TARGET, instr);
2082 } 2082 }
2083 2083
2084 2084
2085 template<class InstrType> 2085 template<class InstrType>
2086 void LCodeGen::EmitBranch(InstrType instr, Condition cc) { 2086 void LCodeGen::EmitBranch(InstrType instr, Condition cc) {
2087 int left_block = instr->TrueDestination(chunk_); 2087 int left_block = instr->TrueDestination(chunk_);
2088 int right_block = instr->FalseDestination(chunk_); 2088 int right_block = instr->FalseDestination(chunk_);
2089 2089
2090 int next_block = GetNextEmittedBlock(); 2090 int next_block = GetNextEmittedBlock();
(...skipping 3677 matching lines...) Expand 10 before | Expand all | Expand 10 after
5768 CallRuntime(Runtime::kPushBlockContext, 2, instr); 5768 CallRuntime(Runtime::kPushBlockContext, 2, instr);
5769 RecordSafepoint(Safepoint::kNoLazyDeopt); 5769 RecordSafepoint(Safepoint::kNoLazyDeopt);
5770 } 5770 }
5771 5771
5772 5772
5773 #undef __ 5773 #undef __
5774 5774
5775 } } // namespace v8::internal 5775 } } // namespace v8::internal
5776 5776
5777 #endif // V8_TARGET_ARCH_IA32 5777 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698