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

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

Issue 1365803004: [presubmit] Fix whitespace/semicolon linter violations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | src/base/bits.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/arm64/frames-arm64.h" 5 #include "src/arm64/frames-arm64.h"
6 #include "src/arm64/lithium-codegen-arm64.h" 6 #include "src/arm64/lithium-codegen-arm64.h"
7 #include "src/arm64/lithium-gap-resolver-arm64.h" 7 #include "src/arm64/lithium-gap-resolver-arm64.h"
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4177 matching lines...) Expand 10 before | Expand all | Expand 10 after
4188 __ Bind(&done); 4188 __ Bind(&done);
4189 } 4189 }
4190 4190
4191 4191
4192 void LCodeGen::DoMulConstIS(LMulConstIS* instr) { 4192 void LCodeGen::DoMulConstIS(LMulConstIS* instr) {
4193 DCHECK(instr->hydrogen()->representation().IsSmiOrInteger32()); 4193 DCHECK(instr->hydrogen()->representation().IsSmiOrInteger32());
4194 bool is_smi = instr->hydrogen()->representation().IsSmi(); 4194 bool is_smi = instr->hydrogen()->representation().IsSmi();
4195 Register result = 4195 Register result =
4196 is_smi ? ToRegister(instr->result()) : ToRegister32(instr->result()); 4196 is_smi ? ToRegister(instr->result()) : ToRegister32(instr->result());
4197 Register left = 4197 Register left =
4198 is_smi ? ToRegister(instr->left()) : ToRegister32(instr->left()) ; 4198 is_smi ? ToRegister(instr->left()) : ToRegister32(instr->left());
4199 int32_t right = ToInteger32(instr->right()); 4199 int32_t right = ToInteger32(instr->right());
4200 DCHECK((right > -kMaxInt) && (right < kMaxInt)); 4200 DCHECK((right > -kMaxInt) && (right < kMaxInt));
4201 4201
4202 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow); 4202 bool can_overflow = instr->hydrogen()->CheckFlag(HValue::kCanOverflow);
4203 bool bailout_on_minus_zero = 4203 bool bailout_on_minus_zero =
4204 instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero); 4204 instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero);
4205 4205
4206 if (bailout_on_minus_zero) { 4206 if (bailout_on_minus_zero) {
4207 if (right < 0) { 4207 if (right < 0) {
4208 // The result is -0 if right is negative and left is zero. 4208 // The result is -0 if right is negative and left is zero.
(...skipping 1803 matching lines...) Expand 10 before | Expand all | Expand 10 after
6012 Handle<ScopeInfo> scope_info = instr->scope_info(); 6012 Handle<ScopeInfo> scope_info = instr->scope_info();
6013 __ Push(scope_info); 6013 __ Push(scope_info);
6014 __ Push(ToRegister(instr->function())); 6014 __ Push(ToRegister(instr->function()));
6015 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6015 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6016 RecordSafepoint(Safepoint::kNoLazyDeopt); 6016 RecordSafepoint(Safepoint::kNoLazyDeopt);
6017 } 6017 }
6018 6018
6019 6019
6020 } // namespace internal 6020 } // namespace internal
6021 } // namespace v8 6021 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/base/bits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698