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

Side by Side Diff: src/compiler/arm/code-generator-arm.cc

Issue 1988623003: [TurboFan] Fix missing initialization of must_save_lr in OutOfLineRecordWrite. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 | « no previous file | no next file » | 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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compiler/code-generator-impl.h" 9 #include "src/compiler/code-generator-impl.h"
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 OutOfLineRecordWrite(CodeGenerator* gen, Register object, Register index, 211 OutOfLineRecordWrite(CodeGenerator* gen, Register object, Register index,
212 Register value, Register scratch0, Register scratch1, 212 Register value, Register scratch0, Register scratch1,
213 RecordWriteMode mode) 213 RecordWriteMode mode)
214 : OutOfLineCode(gen), 214 : OutOfLineCode(gen),
215 object_(object), 215 object_(object),
216 index_(index), 216 index_(index),
217 index_immediate_(0), 217 index_immediate_(0),
218 value_(value), 218 value_(value),
219 scratch0_(scratch0), 219 scratch0_(scratch0),
220 scratch1_(scratch1), 220 scratch1_(scratch1),
221 mode_(mode) {} 221 mode_(mode),
222 must_save_lr_(!gen->frame_access_state()->has_frame()) {}
222 223
223 OutOfLineRecordWrite(CodeGenerator* gen, Register object, int32_t index, 224 OutOfLineRecordWrite(CodeGenerator* gen, Register object, int32_t index,
224 Register value, Register scratch0, Register scratch1, 225 Register value, Register scratch0, Register scratch1,
225 RecordWriteMode mode) 226 RecordWriteMode mode)
226 : OutOfLineCode(gen), 227 : OutOfLineCode(gen),
227 object_(object), 228 object_(object),
228 index_(no_reg), 229 index_(no_reg),
229 index_immediate_(index), 230 index_immediate_(index),
230 value_(value), 231 value_(value),
231 scratch0_(scratch0), 232 scratch0_(scratch0),
(...skipping 1463 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 padding_size -= v8::internal::Assembler::kInstrSize; 1696 padding_size -= v8::internal::Assembler::kInstrSize;
1696 } 1697 }
1697 } 1698 }
1698 } 1699 }
1699 1700
1700 #undef __ 1701 #undef __
1701 1702
1702 } // namespace compiler 1703 } // namespace compiler
1703 } // namespace internal 1704 } // namespace internal
1704 } // namespace v8 1705 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698