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

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

Issue 1146963002: Add %GetCallerJSFunction intrinsic (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merge with ToT Created 5 years, 7 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
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/base/flags.h" 5 #include "src/base/flags.h"
6 #include "src/bootstrapper.h" 6 #include "src/bootstrapper.h"
7 #include "src/compiler/graph-reducer.h" 7 #include "src/compiler/graph-reducer.h"
8 #include "src/compiler/js-operator.h" 8 #include "src/compiler/js-operator.h"
9 #include "src/compiler/node.h" 9 #include "src/compiler/node.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 2265 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 Bounds Typer::Visitor::TypeFloat64InsertHighWord32(Node* node) { 2276 Bounds Typer::Visitor::TypeFloat64InsertHighWord32(Node* node) {
2277 return Bounds(Type::Number()); 2277 return Bounds(Type::Number());
2278 } 2278 }
2279 2279
2280 2280
2281 Bounds Typer::Visitor::TypeLoadStackPointer(Node* node) { 2281 Bounds Typer::Visitor::TypeLoadStackPointer(Node* node) {
2282 return Bounds(Type::Internal()); 2282 return Bounds(Type::Internal());
2283 } 2283 }
2284 2284
2285 2285
2286 Bounds Typer::Visitor::TypeLoadFramePointer(Node* node) {
2287 return Bounds(Type::Internal());
2288 }
2289
2290
2286 Bounds Typer::Visitor::TypeCheckedLoad(Node* node) { 2291 Bounds Typer::Visitor::TypeCheckedLoad(Node* node) {
2287 return Bounds::Unbounded(zone()); 2292 return Bounds::Unbounded(zone());
2288 } 2293 }
2289 2294
2290 2295
2291 Bounds Typer::Visitor::TypeCheckedStore(Node* node) { 2296 Bounds Typer::Visitor::TypeCheckedStore(Node* node) {
2292 UNREACHABLE(); 2297 UNREACHABLE();
2293 return Bounds(); 2298 return Bounds();
2294 } 2299 }
2295 2300
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
2366 TYPED_ARRAYS(TYPED_ARRAY_CASE) 2371 TYPED_ARRAYS(TYPED_ARRAY_CASE)
2367 #undef TYPED_ARRAY_CASE 2372 #undef TYPED_ARRAY_CASE
2368 } 2373 }
2369 } 2374 }
2370 return Type::Constant(value, zone()); 2375 return Type::Constant(value, zone());
2371 } 2376 }
2372 2377
2373 } // namespace compiler 2378 } // namespace compiler
2374 } // namespace internal 2379 } // namespace internal
2375 } // namespace v8 2380 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698