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

Side by Side Diff: src/compiler/js-typed-lowering.h

Issue 1441573004: [turbofan] Lower JSCreate to an inline allocation in JSTypedLowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add unit test. Created 5 years, 1 month 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/access-builder.cc ('k') | src/compiler/js-typed-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_JS_TYPED_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 Reduction ReduceJSEqual(Node* node, bool invert); 60 Reduction ReduceJSEqual(Node* node, bool invert);
61 Reduction ReduceJSStrictEqual(Node* node, bool invert); 61 Reduction ReduceJSStrictEqual(Node* node, bool invert);
62 Reduction ReduceJSUnaryNot(Node* node); 62 Reduction ReduceJSUnaryNot(Node* node);
63 Reduction ReduceJSToBoolean(Node* node); 63 Reduction ReduceJSToBoolean(Node* node);
64 Reduction ReduceJSToNumberInput(Node* input); 64 Reduction ReduceJSToNumberInput(Node* input);
65 Reduction ReduceJSToNumber(Node* node); 65 Reduction ReduceJSToNumber(Node* node);
66 Reduction ReduceJSToStringInput(Node* input); 66 Reduction ReduceJSToStringInput(Node* input);
67 Reduction ReduceJSToString(Node* node); 67 Reduction ReduceJSToString(Node* node);
68 Reduction ReduceJSToObject(Node* node); 68 Reduction ReduceJSToObject(Node* node);
69 Reduction ReduceJSConvertReceiver(Node* node); 69 Reduction ReduceJSConvertReceiver(Node* node);
70 Reduction ReduceJSCreate(Node* node);
70 Reduction ReduceJSCreateArguments(Node* node); 71 Reduction ReduceJSCreateArguments(Node* node);
71 Reduction ReduceJSCreateClosure(Node* node); 72 Reduction ReduceJSCreateClosure(Node* node);
72 Reduction ReduceJSCreateLiteralArray(Node* node); 73 Reduction ReduceJSCreateLiteralArray(Node* node);
73 Reduction ReduceJSCreateLiteralObject(Node* node); 74 Reduction ReduceJSCreateLiteralObject(Node* node);
74 Reduction ReduceJSCreateFunctionContext(Node* node); 75 Reduction ReduceJSCreateFunctionContext(Node* node);
75 Reduction ReduceJSCreateWithContext(Node* node); 76 Reduction ReduceJSCreateWithContext(Node* node);
76 Reduction ReduceJSCreateBlockContext(Node* node); 77 Reduction ReduceJSCreateBlockContext(Node* node);
77 Reduction ReduceJSCallFunction(Node* node); 78 Reduction ReduceJSCallFunction(Node* node);
78 Reduction ReduceJSForInDone(Node* node); 79 Reduction ReduceJSForInDone(Node* node);
79 Reduction ReduceJSForInNext(Node* node); 80 Reduction ReduceJSForInNext(Node* node);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 Type* shifted_int32_ranges_[4]; 112 Type* shifted_int32_ranges_[4];
112 }; 113 };
113 114
114 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) 115 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags)
115 116
116 } // namespace compiler 117 } // namespace compiler
117 } // namespace internal 118 } // namespace internal
118 } // namespace v8 119 } // namespace v8
119 120
120 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 121 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/access-builder.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698