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

Side by Side Diff: src/compiler/machine-operator.h

Issue 1695313002: [turbofan] Add an operator to access the parent frame pointer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/instruction-selector.cc ('k') | src/compiler/machine-operator.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 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 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/machine-type.h" 9 #include "src/machine-type.h"
10 10
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 const Operator* Load(LoadRepresentation rep); 306 const Operator* Load(LoadRepresentation rep);
307 307
308 // store [base + index], value 308 // store [base + index], value
309 const Operator* Store(StoreRepresentation rep); 309 const Operator* Store(StoreRepresentation rep);
310 310
311 const Operator* StackSlot(MachineRepresentation rep); 311 const Operator* StackSlot(MachineRepresentation rep);
312 312
313 // Access to the machine stack. 313 // Access to the machine stack.
314 const Operator* LoadStackPointer(); 314 const Operator* LoadStackPointer();
315 const Operator* LoadFramePointer(); 315 const Operator* LoadFramePointer();
316 const Operator* LoadParentFramePointer();
316 317
317 // checked-load heap, index, length 318 // checked-load heap, index, length
318 const Operator* CheckedLoad(CheckedLoadRepresentation); 319 const Operator* CheckedLoad(CheckedLoadRepresentation);
319 // checked-store heap, index, length, value 320 // checked-store heap, index, length, value
320 const Operator* CheckedStore(CheckedStoreRepresentation); 321 const Operator* CheckedStore(CheckedStoreRepresentation);
321 322
322 // Target machine word-size assumed by this builder. 323 // Target machine word-size assumed by this builder.
323 bool Is32() const { return word() == MachineRepresentation::kWord32; } 324 bool Is32() const { return word() == MachineRepresentation::kWord32; }
324 bool Is64() const { return word() == MachineRepresentation::kWord64; } 325 bool Is64() const { return word() == MachineRepresentation::kWord64; }
325 MachineRepresentation word() const { return word_; } 326 MachineRepresentation word() const { return word_; }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 }; 363 };
363 364
364 365
365 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 366 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
366 367
367 } // namespace compiler 368 } // namespace compiler
368 } // namespace internal 369 } // namespace internal
369 } // namespace v8 370 } // namespace v8
370 371
371 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 372 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698