OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |