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

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

Issue 1197703002: Use big-boy Types to annotate interface descriptor parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest Created 5 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
« no previous file with comments | « src/arm64/interface-descriptors-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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 DCHECK(!stack_parameter_count_.is_valid()); 424 DCHECK(!stack_parameter_count_.is_valid());
425 } 425 }
426 426
427 void set_call_descriptor(CallInterfaceDescriptor d) { call_descriptor_ = d; } 427 void set_call_descriptor(CallInterfaceDescriptor d) { call_descriptor_ = d; }
428 CallInterfaceDescriptor call_descriptor() const { return call_descriptor_; } 428 CallInterfaceDescriptor call_descriptor() const { return call_descriptor_; }
429 429
430 int GetEnvironmentParameterCount() const { 430 int GetEnvironmentParameterCount() const {
431 return call_descriptor().GetEnvironmentParameterCount(); 431 return call_descriptor().GetEnvironmentParameterCount();
432 } 432 }
433 433
434 Representation GetEnvironmentParameterRepresentation(int index) const { 434 Type* GetEnvironmentParameterType(int index) const {
435 return call_descriptor().GetEnvironmentParameterRepresentation(index); 435 return call_descriptor().GetEnvironmentParameterType(index);
436 } 436 }
437 437
438 ExternalReference miss_handler() const { 438 ExternalReference miss_handler() const {
439 DCHECK(has_miss_handler_); 439 DCHECK(has_miss_handler_);
440 return miss_handler_; 440 return miss_handler_;
441 } 441 }
442 442
443 bool has_miss_handler() const { 443 bool has_miss_handler() const {
444 return has_miss_handler_; 444 return has_miss_handler_;
445 } 445 }
(...skipping 2520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2966 DEFINE_PLATFORM_CODE_STUB(StringCompare, PlatformCodeStub); 2966 DEFINE_PLATFORM_CODE_STUB(StringCompare, PlatformCodeStub);
2967 }; 2967 };
2968 2968
2969 2969
2970 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR 2970 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR
2971 #undef DEFINE_PLATFORM_CODE_STUB 2971 #undef DEFINE_PLATFORM_CODE_STUB
2972 #undef DEFINE_HANDLER_CODE_STUB 2972 #undef DEFINE_HANDLER_CODE_STUB
2973 #undef DEFINE_HYDROGEN_CODE_STUB 2973 #undef DEFINE_HYDROGEN_CODE_STUB
2974 #undef DEFINE_CODE_STUB 2974 #undef DEFINE_CODE_STUB
2975 #undef DEFINE_CODE_STUB_BASE 2975 #undef DEFINE_CODE_STUB_BASE
2976
2977 extern Representation RepresentationFromType(Type* type);
2976 } } // namespace v8::internal 2978 } } // namespace v8::internal
2977 2979
2978 #endif // V8_CODE_STUBS_H_ 2980 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/arm64/interface-descriptors-arm64.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698