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

Side by Side Diff: src/arm/lithium-codegen-arm.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/arm/lithium-arm.h ('k') | src/arm64/lithium-arm64.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 #include "src/arm/lithium-codegen-arm.h" 7 #include "src/arm/lithium-codegen-arm.h"
8 #include "src/arm/lithium-gap-resolver-arm.h" 8 #include "src/arm/lithium-gap-resolver-arm.h"
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 2158 matching lines...) Expand 10 before | Expand all | Expand 10 after
2169 } 2169 }
2170 2170
2171 2171
2172 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { 2172 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
2173 DCHECK(ToRegister(instr->context()).is(cp)); 2173 DCHECK(ToRegister(instr->context()).is(cp));
2174 DCHECK(ToRegister(instr->left()).is(r1)); 2174 DCHECK(ToRegister(instr->left()).is(r1));
2175 DCHECK(ToRegister(instr->right()).is(r0)); 2175 DCHECK(ToRegister(instr->right()).is(r0));
2176 DCHECK(ToRegister(instr->result()).is(r0)); 2176 DCHECK(ToRegister(instr->result()).is(r0));
2177 2177
2178 Handle<Code> code = CodeFactory::BinaryOpIC( 2178 Handle<Code> code = CodeFactory::BinaryOpIC(
2179 isolate(), instr->op(), language_mode()).code(); 2179 isolate(), instr->op(), instr->language_mode()).code();
2180 // Block literal pool emission to ensure nop indicating no inlined smi code 2180 // Block literal pool emission to ensure nop indicating no inlined smi code
2181 // is in the correct position. 2181 // is in the correct position.
2182 Assembler::BlockConstPoolScope block_const_pool(masm()); 2182 Assembler::BlockConstPoolScope block_const_pool(masm());
2183 CallCode(code, RelocInfo::CODE_TARGET, instr); 2183 CallCode(code, RelocInfo::CODE_TARGET, instr);
2184 } 2184 }
2185 2185
2186 2186
2187 template<class InstrType> 2187 template<class InstrType>
2188 void LCodeGen::EmitBranch(InstrType instr, Condition condition) { 2188 void LCodeGen::EmitBranch(InstrType instr, Condition condition) {
2189 int left_block = instr->TrueDestination(chunk_); 2189 int left_block = instr->TrueDestination(chunk_);
(...skipping 3754 matching lines...) Expand 10 before | Expand all | Expand 10 after
5944 __ Push(scope_info); 5944 __ Push(scope_info);
5945 __ push(ToRegister(instr->function())); 5945 __ push(ToRegister(instr->function()));
5946 CallRuntime(Runtime::kPushBlockContext, 2, instr); 5946 CallRuntime(Runtime::kPushBlockContext, 2, instr);
5947 RecordSafepoint(Safepoint::kNoLazyDeopt); 5947 RecordSafepoint(Safepoint::kNoLazyDeopt);
5948 } 5948 }
5949 5949
5950 5950
5951 #undef __ 5951 #undef __
5952 5952
5953 } } // namespace v8::internal 5953 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm64/lithium-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698