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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index cad9ae922208dbdbac6d4f7a70a69f3d7c2c35de..846ff1c03dc06eac8879a91cb1cc4247970328c7 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -80,6 +80,9 @@ class RawMachineAssembler : public GraphBuilder {
Node* NumberConstant(double value) {
return NewNode(common()->NumberConstant(value));
}
+ Node* Float32Constant(float value) {
+ return NewNode(common()->Float32Constant(value));
+ }
Node* Float64Constant(double value) {
return NewNode(common()->Float64Constant(value));
}
« 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