Commit 0dd2e3cc authored by jarin's avatar jarin Committed by Commit bot

Fix Android ARM build error.

Also removed some unused classes.

BUG=

Review URL: https://codereview.chromium.org/1212643010

Cr-Commit-Position: refs/heads/master@{#29368}
parent d7f8e611
......@@ -20,7 +20,7 @@ class DeoptimizedFrameInfo;
class TranslatedState;
class RegisterValues;
class TranslatedValue BASE_EMBEDDED {
class TranslatedValue {
public:
// Allocation-less getter of the value.
// Returns heap()->arguments_marker() if allocation would be
......@@ -294,50 +294,6 @@ class TranslatedState {
std::deque<ObjectPosition> object_positions_;
};
template<typename T>
class HeapNumberMaterializationDescriptor BASE_EMBEDDED {
public:
HeapNumberMaterializationDescriptor(T destination, double value)
: destination_(destination), value_(value) { }
T destination() const { return destination_; }
double value() const { return value_; }
private:
T destination_;
double value_;
};
class ObjectMaterializationDescriptor BASE_EMBEDDED {
public:
ObjectMaterializationDescriptor(
Address slot_address, int frame, int length, int duplicate, bool is_args)
: slot_address_(slot_address),
jsframe_index_(frame),
object_length_(length),
duplicate_object_(duplicate),
is_arguments_(is_args) { }
Address slot_address() const { return slot_address_; }
int jsframe_index() const { return jsframe_index_; }
int object_length() const { return object_length_; }
int duplicate_object() const { return duplicate_object_; }
bool is_arguments() const { return is_arguments_; }
// Only used for allocated receivers in DoComputeConstructStubFrame.
void patch_slot_address(intptr_t slot) {
slot_address_ = reinterpret_cast<Address>(slot);
}
private:
Address slot_address_;
int jsframe_index_;
int object_length_;
int duplicate_object_;
bool is_arguments_;
};
class OptimizedFunctionVisitor BASE_EMBEDDED {
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment