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

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

Issue 2676583002: [ic] Encode [Keyed]StoreIC's language mode in slot kind instead of code object's flags. (Closed)
Patch Set: Rebasing Created 3 years, 10 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
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 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 } 1695 }
1696 1696
1697 void StoreInterceptorStub::GenerateAssembly( 1697 void StoreInterceptorStub::GenerateAssembly(
1698 compiler::CodeAssemblerState* state) const { 1698 compiler::CodeAssemblerState* state) const {
1699 typedef compiler::Node Node; 1699 typedef compiler::Node Node;
1700 CodeStubAssembler assembler(state); 1700 CodeStubAssembler assembler(state);
1701 1701
1702 Node* receiver = assembler.Parameter(Descriptor::kReceiver); 1702 Node* receiver = assembler.Parameter(Descriptor::kReceiver);
1703 Node* name = assembler.Parameter(Descriptor::kName); 1703 Node* name = assembler.Parameter(Descriptor::kName);
1704 Node* value = assembler.Parameter(Descriptor::kValue); 1704 Node* value = assembler.Parameter(Descriptor::kValue);
1705 Node* slot = assembler.Parameter(Descriptor::kSlot);
1706 Node* vector = assembler.Parameter(Descriptor::kVector);
1705 Node* context = assembler.Parameter(Descriptor::kContext); 1707 Node* context = assembler.Parameter(Descriptor::kContext);
1706 assembler.TailCallRuntime(Runtime::kStorePropertyWithInterceptor, context, 1708 assembler.TailCallRuntime(Runtime::kStorePropertyWithInterceptor, context,
1707 receiver, name, value); 1709 value, slot, vector, receiver, name);
1708 } 1710 }
1709 1711
1710 void LoadIndexedInterceptorStub::GenerateAssembly( 1712 void LoadIndexedInterceptorStub::GenerateAssembly(
1711 compiler::CodeAssemblerState* state) const { 1713 compiler::CodeAssemblerState* state) const {
1712 typedef compiler::Node Node; 1714 typedef compiler::Node Node;
1713 typedef CodeStubAssembler::Label Label; 1715 typedef CodeStubAssembler::Label Label;
1714 CodeStubAssembler assembler(state); 1716 CodeStubAssembler assembler(state);
1715 1717
1716 Node* receiver = assembler.Parameter(Descriptor::kReceiver); 1718 Node* receiver = assembler.Parameter(Descriptor::kReceiver);
1717 Node* key = assembler.Parameter(Descriptor::kName); 1719 Node* key = assembler.Parameter(Descriptor::kName);
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 } 2371 }
2370 2372
2371 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) 2373 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate)
2372 : PlatformCodeStub(isolate) {} 2374 : PlatformCodeStub(isolate) {}
2373 2375
2374 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) 2376 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate)
2375 : PlatformCodeStub(isolate) {} 2377 : PlatformCodeStub(isolate) {}
2376 2378
2377 } // namespace internal 2379 } // namespace internal
2378 } // namespace v8 2380 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698