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

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

Issue 1006173003: [stubs] Add missing interface descriptor for the CompareIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/arm64/interface-descriptors-arm64.cc ('k') | src/ia32/interface-descriptors-ia32.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 InlineCacheState initialization_state) { 100 InlineCacheState initialization_state) {
101 return Callable(KeyedStoreIC::initialize_stub(isolate, language_mode, 101 return Callable(KeyedStoreIC::initialize_stub(isolate, language_mode,
102 initialization_state), 102 initialization_state),
103 StoreDescriptor(isolate)); 103 StoreDescriptor(isolate));
104 } 104 }
105 105
106 106
107 // static 107 // static
108 Callable CodeFactory::CompareIC(Isolate* isolate, Token::Value op) { 108 Callable CodeFactory::CompareIC(Isolate* isolate, Token::Value op) {
109 Handle<Code> code = CompareIC::GetUninitialized(isolate, op); 109 Handle<Code> code = CompareIC::GetUninitialized(isolate, op);
110 return Callable(code, BinaryOpDescriptor(isolate)); 110 return Callable(code, CompareDescriptor(isolate));
111 } 111 }
112 112
113 113
114 // static 114 // static
115 Callable CodeFactory::BinaryOpIC(Isolate* isolate, Token::Value op) { 115 Callable CodeFactory::BinaryOpIC(Isolate* isolate, Token::Value op) {
116 BinaryOpICStub stub(isolate, op); 116 BinaryOpICStub stub(isolate, op);
117 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); 117 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
118 } 118 }
119 119
120 120
(...skipping 30 matching lines...) Expand all
151 151
152 // static 152 // static
153 Callable CodeFactory::CallFunction(Isolate* isolate, int argc, 153 Callable CodeFactory::CallFunction(Isolate* isolate, int argc,
154 CallFunctionFlags flags) { 154 CallFunctionFlags flags) {
155 CallFunctionStub stub(isolate, argc, flags); 155 CallFunctionStub stub(isolate, argc, flags);
156 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); 156 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
157 } 157 }
158 158
159 } // namespace internal 159 } // namespace internal
160 } // namespace v8 160 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/interface-descriptors-arm64.cc ('k') | src/ia32/interface-descriptors-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698