Revision: 11730
Author: [email protected]
Date: Wed Jun 6 04:44:54 2012
Log: Unbreak MIPS build after recent zone-related changes
Review URL: https://chromiumcodereview.appspot.com/10533022
http://code.google.com/p/v8/source/detail?r=11730
Modified:
/branches/bleeding_edge/src/mips/lithium-codegen-mips.cc
/branches/bleeding_edge/src/mips/lithium-codegen-mips.h
/branches/bleeding_edge/src/mips/lithium-mips.cc
/branches/bleeding_edge/src/mips/lithium-mips.h
=======================================
--- /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Tue May 29
09:39:26 2012
+++ /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Wed Jun 6
04:44:54 2012
@@ -592,7 +592,7 @@
++jsframe_count;
}
}
- Translation translation(&translations_, frame_count, jsframe_count);
+ Translation translation(&translations_, frame_count, jsframe_count,
zone());
WriteTranslation(environment, &translation);
int deoptimization_index = deoptimizations_.length();
int pc_offset = masm()->pc_offset();
@@ -724,7 +724,7 @@
for (int i = 0; i < operands->length(); i++) {
LOperand* pointer = operands->at(i);
if (pointer->IsStackSlot()) {
- safepoint.DefinePointerSlot(pointer->index());
+ safepoint.DefinePointerSlot(pointer->index(), zone());
} else if (pointer->IsRegister() && (kind &
Safepoint::kWithRegisters)) {
safepoint.DefinePointerRegister(ToRegister(pointer));
}
=======================================
--- /branches/bleeding_edge/src/mips/lithium-codegen-mips.h Wed Apr 18
02:38:45 2012
+++ /branches/bleeding_edge/src/mips/lithium-codegen-mips.h Wed Jun 6
04:44:54 2012
@@ -43,7 +43,8 @@
class LCodeGen BASE_EMBEDDED {
public:
- LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info)
+ LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info,
+ Zone* zone)
: chunk_(chunk),
masm_(assembler),
info_(info),
@@ -56,11 +57,14 @@
inlined_function_count_(0),
scope_(info->scope()),
status_(UNUSED),
+ translations_(zone),
deferred_(8),
osr_pc_offset_(-1),
last_lazy_deopt_pc_(0),
+ safepoints_(zone),
resolver_(this),
- expected_safepoint_kind_(Safepoint::kSimple) {
+ expected_safepoint_kind_(Safepoint::kSimple),
+ zone_(zone) {
PopulateDeoptimizationLiteralsWithInlinedFunctions();
}
@@ -71,6 +75,7 @@
Isolate* isolate() const { return info_->isolate(); }
Factory* factory() const { return isolate()->factory(); }
Heap* heap() const { return isolate()->heap(); }
+ Zone* zone() const { return zone_; }
// Support for converting LOperands to assembler types.
// LOperand must be a register.
@@ -375,6 +380,8 @@
Safepoint::Kind expected_safepoint_kind_;
+ Zone* zone_;
+
class PushSafepointRegistersScope BASE_EMBEDDED {
public:
PushSafepointRegistersScope(LCodeGen* codegen,
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Tue May 29 09:39:26
2012
+++ /branches/bleeding_edge/src/mips/lithium-mips.cc Wed Jun 6 04:44:54
2012
@@ -985,7 +985,8 @@
hydrogen_env->parameter_count(),
argument_count_,
value_count,
- outer);
+ outer,
+ zone());
int argument_index = *argument_index_accumulator;
for (int i = 0; i < value_count; ++i) {
if (hydrogen_env->is_special_index(i)) continue;
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.h Tue May 29 09:39:26 2012
+++ /branches/bleeding_edge/src/mips/lithium-mips.h Wed Jun 6 04:44:54 2012
@@ -2252,7 +2252,7 @@
: chunk_(NULL),
info_(info),
graph_(graph),
- zone_(graph->isolate()->zone()),
+ zone_(graph->zone()),
status_(UNUSED),
current_instruction_(NULL),
current_block_(NULL),
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev