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

Unified Diff: src/deoptimizer.h

Issue 1212643010: Fix Android ARM build error. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698