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

Side by Side Diff: src/compiler/typer.cc

Issue 1344553003: [turbofan] Model arguments object materialization in graph. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments. Created 5 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 unified diff | Download patch
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/verifier.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 #include "src/compiler/typer.h" 5 #include "src/compiler/typer.h"
6 6
7 #include "src/base/flags.h" 7 #include "src/base/flags.h"
8 #include "src/base/lazy-instance.h" 8 #include "src/base/lazy-instance.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 1172
1173 1173
1174 // JS object operators. 1174 // JS object operators.
1175 1175
1176 1176
1177 Bounds Typer::Visitor::TypeJSCreate(Node* node) { 1177 Bounds Typer::Visitor::TypeJSCreate(Node* node) {
1178 return Bounds(Type::None(), Type::Object()); 1178 return Bounds(Type::None(), Type::Object());
1179 } 1179 }
1180 1180
1181 1181
1182 Bounds Typer::Visitor::TypeJSCreateArguments(Node* node) {
1183 return Bounds(Type::None(), Type::OtherObject());
1184 }
1185
1186
1182 Bounds Typer::Visitor::TypeJSCreateClosure(Node* node) { 1187 Bounds Typer::Visitor::TypeJSCreateClosure(Node* node) {
1183 return Bounds(Type::None(), Type::OtherObject()); 1188 return Bounds(Type::None(), Type::OtherObject());
1184 } 1189 }
1185 1190
1186 1191
1187 Bounds Typer::Visitor::TypeJSCreateLiteralArray(Node* node) { 1192 Bounds Typer::Visitor::TypeJSCreateLiteralArray(Node* node) {
1188 return Bounds(Type::None(), Type::OtherObject()); 1193 return Bounds(Type::None(), Type::OtherObject());
1189 } 1194 }
1190 1195
1191 1196
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 } 2300 }
2296 if (Type::IsInteger(*value)) { 2301 if (Type::IsInteger(*value)) {
2297 return Type::Range(value->Number(), value->Number(), zone()); 2302 return Type::Range(value->Number(), value->Number(), zone());
2298 } 2303 }
2299 return Type::Constant(value, zone()); 2304 return Type::Constant(value, zone());
2300 } 2305 }
2301 2306
2302 } // namespace compiler 2307 } // namespace compiler
2303 } // namespace internal 2308 } // namespace internal
2304 } // namespace v8 2309 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698