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

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

Issue 600383002: [turbofan] Add backend support for Float32Constant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add InstructionSelector unit test. Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/instruction-selector-unittest.cc ('k') | src/compiler/x64/code-generator-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/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 } 73 }
74 Node* Int32Constant(int32_t value) { 74 Node* Int32Constant(int32_t value) {
75 return NewNode(common()->Int32Constant(value)); 75 return NewNode(common()->Int32Constant(value));
76 } 76 }
77 Node* Int64Constant(int64_t value) { 77 Node* Int64Constant(int64_t value) {
78 return NewNode(common()->Int64Constant(value)); 78 return NewNode(common()->Int64Constant(value));
79 } 79 }
80 Node* NumberConstant(double value) { 80 Node* NumberConstant(double value) {
81 return NewNode(common()->NumberConstant(value)); 81 return NewNode(common()->NumberConstant(value));
82 } 82 }
83 Node* Float32Constant(float value) {
84 return NewNode(common()->Float32Constant(value));
85 }
83 Node* Float64Constant(double value) { 86 Node* Float64Constant(double value) {
84 return NewNode(common()->Float64Constant(value)); 87 return NewNode(common()->Float64Constant(value));
85 } 88 }
86 Node* HeapConstant(Handle<Object> object) { 89 Node* HeapConstant(Handle<Object> object) {
87 Unique<Object> val = Unique<Object>::CreateUninitialized(object); 90 Unique<Object> val = Unique<Object>::CreateUninitialized(object);
88 return NewNode(common()->HeapConstant(val)); 91 return NewNode(common()->HeapConstant(val));
89 } 92 }
90 93
91 Node* Projection(int index, Node* a) { 94 Node* Projection(int index, Node* a) {
92 return NewNode(common()->Projection(index), a); 95 return NewNode(common()->Projection(index), a);
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 BasicBlock* current_block_; 438 BasicBlock* current_block_;
436 439
437 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 440 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
438 }; 441 };
439 442
440 } // namespace compiler 443 } // namespace compiler
441 } // namespace internal 444 } // namespace internal
442 } // namespace v8 445 } // namespace v8
443 446
444 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 447 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector-unittest.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698