9514d34e14
Clean up and create seperation between the concept of a call descriptor and a code stub interface descriptor. The former is just concerned with how to call, but the latter has many extra hints related to code generation and deoptimization for the implementation of a particular code stub. R=yangguo@chromium.org Review URL: https://codereview.chromium.org/517993002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23515 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
27 lines
700 B
C++
27 lines
700 B
C++
// Copyright 2012 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef V8_ARM_INTERFACE_DESCRIPTORS_ARM_H_
|
|
#define V8_ARM_INTERFACE_DESCRIPTORS_ARM_H_
|
|
|
|
#include "src/interface-descriptors.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
class PlatformInterfaceDescriptor {
|
|
public:
|
|
explicit PlatformInterfaceDescriptor(TargetAddressStorageMode storage_mode)
|
|
: storage_mode_(storage_mode) {}
|
|
|
|
TargetAddressStorageMode storage_mode() { return storage_mode_; }
|
|
|
|
private:
|
|
TargetAddressStorageMode storage_mode_;
|
|
};
|
|
}
|
|
} // namespace v8::internal
|
|
|
|
#endif // V8_ARM_INTERFACE_DESCRIPTORS_ARM_H_
|