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

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

Issue 1847073003: MIPS64: Fix '[turbofan] Frame elision for code stubs.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/compiler/code-generator.h" 6 #include "src/compiler/code-generator.h"
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 OutOfLineRecordWrite(CodeGenerator* gen, Register object, Register index, 218 OutOfLineRecordWrite(CodeGenerator* gen, Register object, Register index,
219 Register value, Register scratch0, Register scratch1, 219 Register value, Register scratch0, Register scratch1,
220 RecordWriteMode mode) 220 RecordWriteMode mode)
221 : OutOfLineCode(gen), 221 : OutOfLineCode(gen),
222 object_(object), 222 object_(object),
223 index_(index), 223 index_(index),
224 value_(value), 224 value_(value),
225 scratch0_(scratch0), 225 scratch0_(scratch0),
226 scratch1_(scratch1), 226 scratch1_(scratch1),
227 mode_(mode), 227 mode_(mode),
228 must_save_lr_(gen->frame_access_state()->has_frame()) {} 228 must_save_lr_(!gen->frame_access_state()->has_frame()) {}
229 229
230 void Generate() final { 230 void Generate() final {
231 if (mode_ > RecordWriteMode::kValueIsPointer) { 231 if (mode_ > RecordWriteMode::kValueIsPointer) {
232 __ JumpIfSmi(value_, exit()); 232 __ JumpIfSmi(value_, exit());
233 } 233 }
234 __ CheckPageFlag(value_, scratch0_, 234 __ CheckPageFlag(value_, scratch0_,
235 MemoryChunk::kPointersToHereAreInterestingMask, eq, 235 MemoryChunk::kPointersToHereAreInterestingMask, eq,
236 exit()); 236 exit());
237 RememberedSetAction const remembered_set_action = 237 RememberedSetAction const remembered_set_action =
238 mode_ > RecordWriteMode::kValueIsMap ? EMIT_REMEMBERED_SET 238 mode_ > RecordWriteMode::kValueIsMap ? EMIT_REMEMBERED_SET
(...skipping 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after
2173 padding_size -= v8::internal::Assembler::kInstrSize; 2173 padding_size -= v8::internal::Assembler::kInstrSize;
2174 } 2174 }
2175 } 2175 }
2176 } 2176 }
2177 2177
2178 #undef __ 2178 #undef __
2179 2179
2180 } // namespace compiler 2180 } // namespace compiler
2181 } // namespace internal 2181 } // namespace internal
2182 } // namespace v8 2182 } // 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