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

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

Issue 2448463002: [regexp] Remove unused code (Closed)
Patch Set: Created 4 years, 1 month 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/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 2395 matching lines...) Expand 10 before | Expand all | Expand 10 after
2406 2406
2407 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() const { 2407 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() const {
2408 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) { 2408 if (kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC) {
2409 return LoadWithVectorDescriptor(isolate()); 2409 return LoadWithVectorDescriptor(isolate());
2410 } else { 2410 } else {
2411 DCHECK(kind() == Code::STORE_IC || kind() == Code::KEYED_STORE_IC); 2411 DCHECK(kind() == Code::STORE_IC || kind() == Code::KEYED_STORE_IC);
2412 return StoreWithVectorDescriptor(isolate()); 2412 return StoreWithVectorDescriptor(isolate());
2413 } 2413 }
2414 } 2414 }
2415 2415
2416
2417 void RegExpConstructResultStub::InitializeDescriptor(
2418 CodeStubDescriptor* descriptor) {
2419 descriptor->Initialize(
2420 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry);
2421 descriptor->SetMissHandler(Runtime::kRegExpConstructResult);
2422 }
2423
2424
2425 void TransitionElementsKindStub::InitializeDescriptor( 2416 void TransitionElementsKindStub::InitializeDescriptor(
2426 CodeStubDescriptor* descriptor) { 2417 CodeStubDescriptor* descriptor) {
2427 descriptor->Initialize( 2418 descriptor->Initialize(
2428 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry); 2419 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry);
2429 } 2420 }
2430 2421
2431 2422
2432 void AllocateHeapNumberStub::InitializeDescriptor( 2423 void AllocateHeapNumberStub::InitializeDescriptor(
2433 CodeStubDescriptor* descriptor) { 2424 CodeStubDescriptor* descriptor) {
2434 descriptor->Initialize( 2425 descriptor->Initialize(
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
3326 3317
3327 if (type == MachineType::Pointer()) { 3318 if (type == MachineType::Pointer()) {
3328 return Representation::External(); 3319 return Representation::External();
3329 } 3320 }
3330 3321
3331 return Representation::Tagged(); 3322 return Representation::Tagged();
3332 } 3323 }
3333 3324
3334 } // namespace internal 3325 } // namespace internal
3335 } // namespace v8 3326 } // 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