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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review feedback Created 5 years, 6 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/ppc/code-generator-ppc.cc ('k') | src/compiler/simplified-lowering.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 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-builder.h" 9 #include "src/compiler/graph-builder.h"
10 #include "src/compiler/linkage.h" 10 #include "src/compiler/linkage.h"
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 } 434 }
435 Node* Float64InsertLowWord32(Node* a, Node* b) { 435 Node* Float64InsertLowWord32(Node* a, Node* b) {
436 return NewNode(machine()->Float64InsertLowWord32(), a, b); 436 return NewNode(machine()->Float64InsertLowWord32(), a, b);
437 } 437 }
438 Node* Float64InsertHighWord32(Node* a, Node* b) { 438 Node* Float64InsertHighWord32(Node* a, Node* b) {
439 return NewNode(machine()->Float64InsertHighWord32(), a, b); 439 return NewNode(machine()->Float64InsertHighWord32(), a, b);
440 } 440 }
441 441
442 // Stack operations. 442 // Stack operations.
443 Node* LoadStackPointer() { return NewNode(machine()->LoadStackPointer()); } 443 Node* LoadStackPointer() { return NewNode(machine()->LoadStackPointer()); }
444 Node* LoadFramePointer() { return NewNode(machine()->LoadFramePointer()); }
444 445
445 // Parameters. 446 // Parameters.
446 Node* Parameter(size_t index); 447 Node* Parameter(size_t index);
447 448
448 // Pointer utilities. 449 // Pointer utilities.
449 Node* LoadFromPointer(void* address, MachineType rep, int32_t offset = 0) { 450 Node* LoadFromPointer(void* address, MachineType rep, int32_t offset = 0) {
450 return Load(rep, PointerConstant(address), Int32Constant(offset)); 451 return Load(rep, PointerConstant(address), Int32Constant(offset));
451 } 452 }
452 void StoreToPointer(void* address, MachineType rep, Node* node) { 453 void StoreToPointer(void* address, MachineType rep, Node* node) {
453 Store(rep, PointerConstant(address), node); 454 Store(rep, PointerConstant(address), node);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 BasicBlock* current_block_; 516 BasicBlock* current_block_;
516 517
517 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 518 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
518 }; 519 };
519 520
520 } // namespace compiler 521 } // namespace compiler
521 } // namespace internal 522 } // namespace internal
522 } // namespace v8 523 } // namespace v8
523 524
524 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 525 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/ppc/code-generator-ppc.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698