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

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

Issue 339663008: Revert "Create a RegisterSpec class inside of the IC that provides:" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/arm64/stub-cache-arm64.cc ('k') | src/code-stubs.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 #ifndef V8_CODE_STUBS_H_ 5 #ifndef V8_CODE_STUBS_H_
6 #define V8_CODE_STUBS_H_ 6 #define V8_CODE_STUBS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 struct CodeStubInterfaceDescriptor { 269 struct CodeStubInterfaceDescriptor {
270 CodeStubInterfaceDescriptor(); 270 CodeStubInterfaceDescriptor();
271 int register_param_count_; 271 int register_param_count_;
272 272
273 Register stack_parameter_count_; 273 Register stack_parameter_count_;
274 // if hint_stack_parameter_count_ > 0, the code stub can optimize the 274 // if hint_stack_parameter_count_ > 0, the code stub can optimize the
275 // return sequence. Default value is -1, which means it is ignored. 275 // return sequence. Default value is -1, which means it is ignored.
276 int hint_stack_parameter_count_; 276 int hint_stack_parameter_count_;
277 StubFunctionMode function_mode_; 277 StubFunctionMode function_mode_;
278 const Register* register_params_; 278 Register* register_params_;
279 // Specifies Representations for the stub's parameter. Points to an array of 279 // Specifies Representations for the stub's parameter. Points to an array of
280 // Representations of the same length of the numbers of parameters to the 280 // Representations of the same length of the numbers of parameters to the
281 // stub, or if NULL (the default value), Representation of each parameter 281 // stub, or if NULL (the default value), Representation of each parameter
282 // assumed to be Tagged() 282 // assumed to be Tagged()
283 Representation* register_param_representations_; 283 Representation* register_param_representations_;
284 284
285 Address deoptimization_handler_; 285 Address deoptimization_handler_;
286 HandlerArgumentsMode handler_arguments_mode_; 286 HandlerArgumentsMode handler_arguments_mode_;
287 287
288 bool initialized() const { return register_param_count_ >= 0; } 288 bool initialized() const { return register_param_count_ >= 0; }
(...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2483 2483
2484 2484
2485 class CallDescriptors { 2485 class CallDescriptors {
2486 public: 2486 public:
2487 static void InitializeForIsolate(Isolate* isolate); 2487 static void InitializeForIsolate(Isolate* isolate);
2488 }; 2488 };
2489 2489
2490 } } // namespace v8::internal 2490 } } // namespace v8::internal
2491 2491
2492 #endif // V8_CODE_STUBS_H_ 2492 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/arm64/stub-cache-arm64.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698