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

Side by Side Diff: src/code-stubs.cc

Issue 1823523002: [stubs] Unify the type conversion call interface descriptors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/code-stubs.h ('k') | src/code-stubs-hydrogen.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/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 2435 matching lines...) Expand 10 before | Expand all | Expand 10 after
2446 } 2446 }
2447 2447
2448 2448
2449 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} 2449 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {}
2450 2450
2451 2451
2452 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} 2452 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {}
2453 2453
2454 2454
2455 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 2455 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
2456 NumberToStringDescriptor call_descriptor(isolate());
2457 descriptor->Initialize( 2456 descriptor->Initialize(
2458 Runtime::FunctionForId(Runtime::kNumberToString)->entry); 2457 Runtime::FunctionForId(Runtime::kNumberToString)->entry);
2459 } 2458 }
2460 2459
2461 2460
2462 void FastCloneRegExpStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 2461 void FastCloneRegExpStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
2463 FastCloneRegExpDescriptor call_descriptor(isolate()); 2462 FastCloneRegExpDescriptor call_descriptor(isolate());
2464 descriptor->Initialize( 2463 descriptor->Initialize(
2465 Runtime::FunctionForId(Runtime::kCreateRegExpLiteral)->entry); 2464 Runtime::FunctionForId(Runtime::kCreateRegExpLiteral)->entry);
2466 } 2465 }
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
2756 if (type->Is(Type::UntaggedPointer())) { 2755 if (type->Is(Type::UntaggedPointer())) {
2757 return Representation::External(); 2756 return Representation::External();
2758 } 2757 }
2759 2758
2760 DCHECK(!type->Is(Type::Untagged())); 2759 DCHECK(!type->Is(Type::Untagged()));
2761 return Representation::Tagged(); 2760 return Representation::Tagged();
2762 } 2761 }
2763 2762
2764 } // namespace internal 2763 } // namespace internal
2765 } // namespace v8 2764 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698