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

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

Issue 2301883002: CallInterfaceDescriptor should use MachineType (Closed)
Patch Set: Remove unneeded zone in the isolate. Created 4 years, 3 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 | « no previous file | 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/code-stub-assembler.h" 10 #include "src/code-stub-assembler.h"
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 } 557 }
558 558
559 int GetParameterCount() const { 559 int GetParameterCount() const {
560 return call_descriptor().GetParameterCount(); 560 return call_descriptor().GetParameterCount();
561 } 561 }
562 562
563 Register GetRegisterParameter(int index) const { 563 Register GetRegisterParameter(int index) const {
564 return call_descriptor().GetRegisterParameter(index); 564 return call_descriptor().GetRegisterParameter(index);
565 } 565 }
566 566
567 Type* GetParameterType(int index) const { 567 MachineType GetParameterType(int index) const {
568 return call_descriptor().GetParameterType(index); 568 return call_descriptor().GetParameterType(index);
569 } 569 }
570 570
571 ExternalReference miss_handler() const { 571 ExternalReference miss_handler() const {
572 DCHECK(has_miss_handler_); 572 DCHECK(has_miss_handler_);
573 return miss_handler_; 573 return miss_handler_;
574 } 574 }
575 575
576 Runtime::FunctionId miss_handler_id() const { 576 Runtime::FunctionId miss_handler_id() const {
577 DCHECK(has_miss_handler_); 577 DCHECK(has_miss_handler_);
(...skipping 2640 matching lines...) Expand 10 before | Expand all | Expand 10 after
3218 }; 3218 };
3219 3219
3220 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR 3220 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR
3221 #undef DEFINE_PLATFORM_CODE_STUB 3221 #undef DEFINE_PLATFORM_CODE_STUB
3222 #undef DEFINE_HANDLER_CODE_STUB 3222 #undef DEFINE_HANDLER_CODE_STUB
3223 #undef DEFINE_HYDROGEN_CODE_STUB 3223 #undef DEFINE_HYDROGEN_CODE_STUB
3224 #undef DEFINE_CODE_STUB 3224 #undef DEFINE_CODE_STUB
3225 #undef DEFINE_CODE_STUB_BASE 3225 #undef DEFINE_CODE_STUB_BASE
3226 3226
3227 extern Representation RepresentationFromType(Type* type); 3227 extern Representation RepresentationFromType(Type* type);
3228 extern Representation RepresentationFromMachineType(MachineType type);
3228 3229
3229 } // namespace internal 3230 } // namespace internal
3230 } // namespace v8 3231 } // namespace v8
3231 3232
3232 #endif // V8_CODE_STUBS_H_ 3233 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698