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

Side by Side Diff: src/x64/lithium-codegen-x64.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/ppc/lithium-ppc.h ('k') | src/x64/lithium-x64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_X64 7 #if V8_TARGET_ARCH_X64
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 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after
2099 } 2099 }
2100 2100
2101 2101
2102 void LCodeGen::DoArithmeticT(LArithmeticT* instr) { 2102 void LCodeGen::DoArithmeticT(LArithmeticT* instr) {
2103 DCHECK(ToRegister(instr->context()).is(rsi)); 2103 DCHECK(ToRegister(instr->context()).is(rsi));
2104 DCHECK(ToRegister(instr->left()).is(rdx)); 2104 DCHECK(ToRegister(instr->left()).is(rdx));
2105 DCHECK(ToRegister(instr->right()).is(rax)); 2105 DCHECK(ToRegister(instr->right()).is(rax));
2106 DCHECK(ToRegister(instr->result()).is(rax)); 2106 DCHECK(ToRegister(instr->result()).is(rax));
2107 2107
2108 Handle<Code> code = CodeFactory::BinaryOpIC( 2108 Handle<Code> code = CodeFactory::BinaryOpIC(
2109 isolate(), instr->op(), language_mode()).code(); 2109 isolate(), instr->op(), instr->language_mode()).code();
2110 CallCode(code, RelocInfo::CODE_TARGET, instr); 2110 CallCode(code, RelocInfo::CODE_TARGET, instr);
2111 } 2111 }
2112 2112
2113 2113
2114 template<class InstrType> 2114 template<class InstrType>
2115 void LCodeGen::EmitBranch(InstrType instr, Condition cc) { 2115 void LCodeGen::EmitBranch(InstrType instr, Condition cc) {
2116 int left_block = instr->TrueDestination(chunk_); 2116 int left_block = instr->TrueDestination(chunk_);
2117 int right_block = instr->FalseDestination(chunk_); 2117 int right_block = instr->FalseDestination(chunk_);
2118 2118
2119 int next_block = GetNextEmittedBlock(); 2119 int next_block = GetNextEmittedBlock();
(...skipping 3826 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
5954 5954
5955 #endif // V8_TARGET_ARCH_X64 5955 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ppc/lithium-ppc.h ('k') | src/x64/lithium-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698