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

Unified Diff: runtime/vm/object.h

Issue 2960413002: Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. (Closed)
Patch Set: Moved trace_irregexp flag to flag_list.h Created 3 years, 5 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 | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index b291efba17b53e9acabd14e2ed8d8f0a013f879d..d931a066245def8528685f2be4267a549af4fc25 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4646,51 +4646,6 @@ class ExceptionHandlers : public Object {
};
-// Holds deopt information at one deoptimization point. The information consists
-// of two parts:
-// - first a prefix consisting of kMaterializeObject instructions describing
-// objects which had their allocation removed as part of AllocationSinking
-// pass and have to be materialized;
-// - followed by a list of DeoptInstr objects, specifying transformation
-// information for each slot in unoptimized frame(s).
-// Arguments for object materialization (class of instance to be allocated and
-// field-value pairs) are added as artificial slots to the expression stack
-// of the bottom-most frame. They are removed from the stack at the very end
-// of deoptimization by the deoptimization stub.
-class DeoptInfo : public AllStatic {
- public:
- // Size of the frame part of the translation not counting kMaterializeObject
- // instructions in the prefix.
- static intptr_t FrameSize(const TypedData& packed);
-
- // Returns the number of kMaterializeObject instructions in the prefix.
- static intptr_t NumMaterializations(const GrowableArray<DeoptInstr*>&);
-
- // Unpack the entire translation into an array of deoptimization
- // instructions. This copies any shared suffixes into the array.
- static void Unpack(const Array& table,
- const TypedData& packed,
- GrowableArray<DeoptInstr*>* instructions);
-
- // Size of the frame part of the translation not counting kMaterializeObject
- // instructions in the prefix.
- static const char* ToCString(const Array& table, const TypedData& packed);
-
- // Returns true iff decompression yields the same instructions as the
- // original.
- static bool VerifyDecompression(const GrowableArray<DeoptInstr*>& original,
- const Array& deopt_table,
- const TypedData& packed);
-
-
- private:
- static void UnpackInto(const Array& table,
- const TypedData& packed,
- GrowableArray<DeoptInstr*>* instructions,
- intptr_t length);
-};
-
-
class Code : public Object {
public:
RawInstructions* active_instructions() const {
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698