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

Unified Diff: src/lithium.h

Issue 11659022: Generate the TransitionElementsStub using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review feedback Created 7 years, 10 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 | « src/ia32/macro-assembler-ia32.cc ('k') | src/lithium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lithium.h
diff --git a/src/lithium.h b/src/lithium.h
index 96e9f499d99a5fb41fd971b1078b0dea52f4daef..24738374313548f781c972e91c42c53e360f87c1 100644
--- a/src/lithium.h
+++ b/src/lithium.h
@@ -686,14 +686,13 @@ class LChunk: public ZoneObject {
Handle<Code> Codegen(Code::Kind kind);
+ void set_allocated_double_registers(BitVector* allocated_registers);
+ BitVector* allocated_double_registers() {
+ return allocated_double_registers_;
+ }
+
protected:
- LChunk(CompilationInfo* info, HGraph* graph)
- : spill_slot_count_(0),
- info_(info),
- graph_(graph),
- instructions_(32, graph->zone()),
- pointer_maps_(8, graph->zone()),
- inlined_closures_(1, graph->zone()) { }
+ LChunk(CompilationInfo* info, HGraph* graph);
void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
@@ -702,6 +701,7 @@ class LChunk: public ZoneObject {
private:
CompilationInfo* info_;
HGraph* const graph_;
+ BitVector* allocated_double_registers_;
ZoneList<LInstruction*> instructions_;
ZoneList<LPointerMap*> pointer_maps_;
ZoneList<Handle<JSFunction> > inlined_closures_;
@@ -710,6 +710,13 @@ class LChunk: public ZoneObject {
int ElementsKindToShiftSize(ElementsKind elements_kind);
+enum NumberUntagDMode {
+ NUMBER_CANDIDATE_IS_SMI,
+ NUMBER_CANDIDATE_IS_SMI_OR_HOLE,
+ NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE,
+ NUMBER_CANDIDATE_IS_ANY_TAGGED
+};
+
} } // namespace v8::internal
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698