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

Side by Side Diff: src/compiler/common-operator.cc

Issue 892593002: [turbofan] Fix usage of ThisFunction parameter in OSR. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/compiler/ast-graph-builder.cc ('k') | src/compiler/ia32/linkage-ia32.cc » ('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/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/compiler/linkage.h" 9 #include "src/compiler/linkage.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 // Uncached. 308 // Uncached.
309 return new (zone()) Operator1<int>( // -- 309 return new (zone()) Operator1<int>( // --
310 IrOpcode::kParameter, Operator::kPure, // opcode 310 IrOpcode::kParameter, Operator::kPure, // opcode
311 "Parameter", // name 311 "Parameter", // name
312 1, 0, 0, 1, 0, 0, // counts 312 1, 0, 0, 1, 0, 0, // counts
313 index); // parameter 313 index); // parameter
314 } 314 }
315 315
316 316
317 const Operator* CommonOperatorBuilder::OsrValue(int index) { 317 const Operator* CommonOperatorBuilder::OsrValue(int index) {
318 return new (zone()) Operator1<int>( // -- 318 return new (zone()) Operator1<int>( // --
319 IrOpcode::kOsrValue, Operator::kPure, // opcode 319 IrOpcode::kOsrValue, Operator::kNoProperties, // opcode
320 "OsrValue", // name 320 "OsrValue", // name
321 0, 0, 1, 1, 0, 0, // counts 321 0, 0, 1, 1, 0, 0, // counts
322 index); // parameter 322 index); // parameter
323 } 323 }
324 324
325 325
326 const Operator* CommonOperatorBuilder::Int32Constant(int32_t value) { 326 const Operator* CommonOperatorBuilder::Int32Constant(int32_t value) {
327 return new (zone()) Operator1<int32_t>( // -- 327 return new (zone()) Operator1<int32_t>( // --
328 IrOpcode::kInt32Constant, Operator::kPure, // opcode 328 IrOpcode::kInt32Constant, Operator::kPure, // opcode
329 "Int32Constant", // name 329 "Int32Constant", // name
330 0, 0, 0, 1, 0, 0, // counts 330 0, 0, 0, 1, 0, 0, // counts
331 value); // parameter 331 value); // parameter
332 } 332 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 } else { 508 } else {
509 UNREACHABLE(); 509 UNREACHABLE();
510 return nullptr; 510 return nullptr;
511 } 511 }
512 } 512 }
513 513
514 514
515 } // namespace compiler 515 } // namespace compiler
516 } // namespace internal 516 } // namespace internal
517 } // namespace v8 517 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/ia32/linkage-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698