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

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

Issue 2593033002: [ics]: Remove deprecated support for patching LoadICs and StoreICs (Closed)
Patch Set: Remove more dead code Created 3 years, 12 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/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 2289 matching lines...) Expand 10 before | Expand all | Expand 10 after
2300 2300
2301 2301
2302 void JSEntryStub::FinishCode(Handle<Code> code) { 2302 void JSEntryStub::FinishCode(Handle<Code> code) {
2303 Handle<FixedArray> handler_table = 2303 Handle<FixedArray> handler_table =
2304 code->GetIsolate()->factory()->NewFixedArray(1, TENURED); 2304 code->GetIsolate()->factory()->NewFixedArray(1, TENURED);
2305 handler_table->set(0, Smi::FromInt(handler_offset_)); 2305 handler_table->set(0, Smi::FromInt(handler_offset_));
2306 code->set_handler_table(*handler_table); 2306 code->set_handler_table(*handler_table);
2307 } 2307 }
2308 2308
2309 2309
2310 void LoadDictionaryElementStub::InitializeDescriptor(
2311 CodeStubDescriptor* descriptor) {
2312 descriptor->Initialize(
2313 FUNCTION_ADDR(Runtime_KeyedLoadIC_MissFromStubFailure));
2314 }
2315
2316 void HandlerStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 2310 void HandlerStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
2317 DCHECK(kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC); 2311 DCHECK(kind() == Code::LOAD_IC || kind() == Code::KEYED_LOAD_IC);
2318 if (kind() == Code::KEYED_LOAD_IC) { 2312 if (kind() == Code::KEYED_LOAD_IC) {
2319 descriptor->Initialize( 2313 descriptor->Initialize(
2320 FUNCTION_ADDR(Runtime_KeyedLoadIC_MissFromStubFailure)); 2314 FUNCTION_ADDR(Runtime_KeyedLoadIC_MissFromStubFailure));
2321 } 2315 }
2322 } 2316 }
2323 2317
2324 2318
2325 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() const { 2319 CallInterfaceDescriptor HandlerStub::GetCallInterfaceDescriptor() const {
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
3227 } 3221 }
3228 3222
3229 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) 3223 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate)
3230 : PlatformCodeStub(isolate) {} 3224 : PlatformCodeStub(isolate) {}
3231 3225
3232 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) 3226 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate)
3233 : PlatformCodeStub(isolate) {} 3227 : PlatformCodeStub(isolate) {}
3234 3228
3235 } // namespace internal 3229 } // namespace internal
3236 } // namespace v8 3230 } // 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