Reviewers: Benedikt Meurer,
Message:
Could you take a look, please?
Description:
Fix Android ARM build error.
Also removed some unused classes.
BUG=
Please review this at https://codereview.chromium.org/1212643010/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -45 lines):
M src/deoptimizer.h
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index
3452f577f8499ebba904885267361703e3b964c9..5c0e6b170daa16c629134edf9498dc5f7b48b624
100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -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:
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.