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

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

Issue 1245133002: [interpreter] Add Interpreter{Entry,Exit}Trampoline builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@oth_bytecode_array
Patch Set: Adding MIPS based on https://codereview.chromium.org/1257953002/ Created 5 years, 4 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/mips64/linkage-mips64.cc ('k') | src/compiler/x64/linkage-x64.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/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 Node* Float32Constant(float value) { 98 Node* Float32Constant(float value) {
99 return NewNode(common()->Float32Constant(value)); 99 return NewNode(common()->Float32Constant(value));
100 } 100 }
101 Node* Float64Constant(double value) { 101 Node* Float64Constant(double value) {
102 return NewNode(common()->Float64Constant(value)); 102 return NewNode(common()->Float64Constant(value));
103 } 103 }
104 Node* HeapConstant(Handle<HeapObject> object) { 104 Node* HeapConstant(Handle<HeapObject> object) {
105 Unique<HeapObject> val = Unique<HeapObject>::CreateUninitialized(object); 105 Unique<HeapObject> val = Unique<HeapObject>::CreateUninitialized(object);
106 return NewNode(common()->HeapConstant(val)); 106 return NewNode(common()->HeapConstant(val));
107 } 107 }
108 Node* HeapConstant(Unique<HeapObject> object) {
109 return NewNode(common()->HeapConstant(object));
110 }
108 Node* ExternalConstant(ExternalReference address) { 111 Node* ExternalConstant(ExternalReference address) {
109 return NewNode(common()->ExternalConstant(address)); 112 return NewNode(common()->ExternalConstant(address));
110 } 113 }
111 114
112 Node* Projection(int index, Node* a) { 115 Node* Projection(int index, Node* a) {
113 return NewNode(common()->Projection(index), a); 116 return NewNode(common()->Projection(index), a);
114 } 117 }
115 118
116 // Memory Operations. 119 // Memory Operations.
117 Node* Load(MachineType rep, Node* base) { 120 Node* Load(MachineType rep, Node* base) {
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 BasicBlock* current_block_; 588 BasicBlock* current_block_;
586 589
587 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 590 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
588 }; 591 };
589 592
590 } // namespace compiler 593 } // namespace compiler
591 } // namespace internal 594 } // namespace internal
592 } // namespace v8 595 } // namespace v8
593 596
594 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 597 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/linkage-mips64.cc ('k') | src/compiler/x64/linkage-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698