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

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

Issue 2595343002: [stubs] Port LoadFieldStub to TF (Closed)
Patch Set: Add abort reason Created 4 years 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 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1922 assembler.Return(value); 1922 assembler.Return(value);
1923 1923
1924 assembler.Bind(&miss); 1924 assembler.Bind(&miss);
1925 { 1925 {
1926 assembler.Comment("Miss"); 1926 assembler.Comment("Miss");
1927 assembler.TailCallRuntime(Runtime::kStoreIC_Miss, context, value, slot, 1927 assembler.TailCallRuntime(Runtime::kStoreIC_Miss, context, value, slot,
1928 vector, receiver, name); 1928 vector, receiver, name);
1929 } 1929 }
1930 } 1930 }
1931 1931
1932 void LoadFieldStub::GenerateAssembly(
1933 compiler::CodeAssemblerState* state) const {
1934 AccessorAssembler::GenerateLoadField(state);
1935 }
1936
1932 void KeyedLoadSloppyArgumentsStub::GenerateAssembly( 1937 void KeyedLoadSloppyArgumentsStub::GenerateAssembly(
1933 compiler::CodeAssemblerState* state) const { 1938 compiler::CodeAssemblerState* state) const {
1934 typedef CodeStubAssembler::Label Label; 1939 typedef CodeStubAssembler::Label Label;
1935 typedef compiler::Node Node; 1940 typedef compiler::Node Node;
1936 CodeStubAssembler assembler(state); 1941 CodeStubAssembler assembler(state);
1937 1942
1938 Node* receiver = assembler.Parameter(Descriptor::kReceiver); 1943 Node* receiver = assembler.Parameter(Descriptor::kReceiver);
1939 Node* key = assembler.Parameter(Descriptor::kName); 1944 Node* key = assembler.Parameter(Descriptor::kName);
1940 Node* slot = assembler.Parameter(Descriptor::kSlot); 1945 Node* slot = assembler.Parameter(Descriptor::kSlot);
1941 Node* vector = assembler.Parameter(Descriptor::kVector); 1946 Node* vector = assembler.Parameter(Descriptor::kVector);
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
3117 } 3122 }
3118 3123
3119 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) 3124 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate)
3120 : PlatformCodeStub(isolate) {} 3125 : PlatformCodeStub(isolate) {}
3121 3126
3122 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate) 3127 InternalArrayConstructorStub::InternalArrayConstructorStub(Isolate* isolate)
3123 : PlatformCodeStub(isolate) {} 3128 : PlatformCodeStub(isolate) {}
3124 3129
3125 } // namespace internal 3130 } // namespace internal
3126 } // namespace v8 3131 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698