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

Side by Side Diff: src/ppc/lithium-codegen-ppc.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/mips64/lithium-mips64.h ('k') | src/ppc/lithium-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 2176 matching lines...) Expand 10 before | Expand all | Expand 10 after
2187 } 2187 }
2188 2188
2189 2189
2190 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { 2190 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
2191 DCHECK(ToRegister(instr->context()).is(cp)); 2191 DCHECK(ToRegister(instr->context()).is(cp));
2192 DCHECK(ToRegister(instr->left()).is(r4)); 2192 DCHECK(ToRegister(instr->left()).is(r4));
2193 DCHECK(ToRegister(instr->right()).is(r3)); 2193 DCHECK(ToRegister(instr->right()).is(r3));
2194 DCHECK(ToRegister(instr->result()).is(r3)); 2194 DCHECK(ToRegister(instr->result()).is(r3));
2195 2195
2196 Handle<Code> code = CodeFactory::BinaryOpIC( 2196 Handle<Code> code = CodeFactory::BinaryOpIC(
2197 isolate(), instr->op(), language_mode()).code(); 2197 isolate(), instr->op(), instr->language_mode()).code();
2198 CallCode(code, RelocInfo::CODE_TARGET, instr); 2198 CallCode(code, RelocInfo::CODE_TARGET, instr);
2199 } 2199 }
2200 2200
2201 2201
2202 template <class InstrType> 2202 template <class InstrType>
2203 void LCodeGen::EmitBranch(InstrType instr, Condition cond, CRegister cr) { 2203 void LCodeGen::EmitBranch(InstrType instr, Condition cond, CRegister cr) {
2204 int left_block = instr->TrueDestination(chunk_); 2204 int left_block = instr->TrueDestination(chunk_);
2205 int right_block = instr->FalseDestination(chunk_); 2205 int right_block = instr->FalseDestination(chunk_);
2206 2206
2207 int next_block = GetNextEmittedBlock(); 2207 int next_block = GetNextEmittedBlock();
(...skipping 3997 matching lines...) Expand 10 before | Expand all | Expand 10 after
6205 __ Push(scope_info); 6205 __ Push(scope_info);
6206 __ push(ToRegister(instr->function())); 6206 __ push(ToRegister(instr->function()));
6207 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6207 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6208 RecordSafepoint(Safepoint::kNoLazyDeopt); 6208 RecordSafepoint(Safepoint::kNoLazyDeopt);
6209 } 6209 }
6210 6210
6211 6211
6212 #undef __ 6212 #undef __
6213 } 6213 }
6214 } // namespace v8::internal 6214 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips64/lithium-mips64.h ('k') | src/ppc/lithium-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698