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

Side by Side Diff: src/interface-descriptors.cc

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 years, 4 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/hydrogen-sce.cc ('k') | src/isolate.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/v8.h"
6
7 #include "src/interface-descriptors.h" 5 #include "src/interface-descriptors.h"
8 6
9 namespace v8 { 7 namespace v8 {
10 namespace internal { 8 namespace internal {
11 9
12 namespace { 10 namespace {
13 // Constructors for common combined semantic and representation types. 11 // Constructors for common combined semantic and representation types.
14 Type* SmiType() { 12 Type* SmiType() {
15 return Type::Intersect(Type::SignedSmall(), Type::TaggedSigned()); 13 return Type::Intersect(Type::SignedSmall(), Type::TaggedSigned());
16 } 14 }
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); 416 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone());
419 function->InitParameter(0, Type::Receiver()); 417 function->InitParameter(0, Type::Receiver());
420 function->InitParameter(1, SmiType()); 418 function->InitParameter(1, SmiType());
421 function->InitParameter(2, AnyTagged()); 419 function->InitParameter(2, AnyTagged());
422 function->InitParameter(3, AnyTagged()); 420 function->InitParameter(3, AnyTagged());
423 function->InitParameter(4, AnyTagged()); 421 function->InitParameter(4, AnyTagged());
424 return function; 422 return function;
425 } 423 }
426 } // namespace internal 424 } // namespace internal
427 } // namespace v8 425 } // namespace v8
OLDNEW
« no previous file with comments | « src/hydrogen-sce.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698