Index: src/arm/codegen-arm.cc |
=================================================================== |
--- src/arm/codegen-arm.cc (revision 2006) |
+++ src/arm/codegen-arm.cc (working copy) |
@@ -108,7 +108,7 @@ |
RegisterAllocator register_allocator(this); |
allocator_ = ®ister_allocator; |
ASSERT(frame_ == NULL); |
- frame_ = new VirtualFrame(this); |
+ frame_ = new VirtualFrame(); |
cc_reg_ = al; |
set_in_spilled_code(false); |
{ |
@@ -133,13 +133,13 @@ |
#endif |
// Allocate space for locals and initialize them. |
- frame_->AllocateStackSlots(scope_->num_stack_slots()); |
+ frame_->AllocateStackSlots(); |
// Initialize the function return target after the locals are set |
// up, because it needs the expected frame height from the frame. |
function_return_.set_direction(JumpTarget::BIDIRECTIONAL); |
function_return_is_shadowed_ = false; |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
if (scope_->num_heap_slots() > 0) { |
// Allocate local context. |
// Get outer context and create a new context based on it. |
@@ -510,14 +510,14 @@ |
void CodeGenerator::LoadGlobal() { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
__ ldr(r0, GlobalObject()); |
frame_->EmitPush(r0); |
} |
void CodeGenerator::LoadGlobalReceiver(Register scratch) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
__ ldr(scratch, ContextOperand(cp, Context::GLOBAL_INDEX)); |
__ ldr(scratch, |
FieldMemOperand(scratch, GlobalObject::kGlobalReceiverOffset)); |
@@ -529,7 +529,7 @@ |
// that we have the INSIDE_TYPEOF typeof state. => Need to handle global |
// variables w/o reference errors elsewhere. |
void CodeGenerator::LoadTypeofExpression(Expression* x) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Variable* variable = x->AsVariableProxy()->AsVariable(); |
if (variable != NULL && !variable->is_this() && variable->is_global()) { |
// NOTE: This is somewhat nasty. We force the compiler to load |
@@ -559,7 +559,7 @@ |
void CodeGenerator::LoadReference(Reference* ref) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ LoadReference"); |
Expression* e = ref->expression(); |
Property* property = e->AsProperty(); |
@@ -602,7 +602,7 @@ |
void CodeGenerator::UnloadReference(Reference* ref) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// Pop a reference from the stack while preserving TOS. |
Comment cmnt(masm_, "[ UnloadReference"); |
int size = ref->size(); |
@@ -619,7 +619,7 @@ |
// may jump to 'false_target' in case the register converts to 'false'. |
void CodeGenerator::ToBoolean(JumpTarget* true_target, |
JumpTarget* false_target) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// Note: The generated code snippet does not change stack variables. |
// Only the condition code should be set. |
frame_->EmitPop(r0); |
@@ -701,7 +701,7 @@ |
void CodeGenerator::GenericBinaryOperation(Token::Value op, |
OverwriteMode overwrite_mode) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// sp[0] : y |
// sp[1] : x |
// result : r0 |
@@ -781,7 +781,7 @@ |
void DeferredInlineSmiOperation::Generate() { |
enter()->Bind(); |
- VirtualFrame::SpilledScope spilled_scope(generator()); |
+ VirtualFrame::SpilledScope spilled_scope; |
switch (op_) { |
case Token::ADD: { |
@@ -853,7 +853,7 @@ |
Handle<Object> value, |
bool reversed, |
OverwriteMode mode) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// NOTE: This is an attempt to inline (a bit) more of the code for |
// some possible smi operations (like + and -) when (at least) one |
// of the operands is a literal smi. With this optimization, the |
@@ -987,7 +987,7 @@ |
void CodeGenerator::Comparison(Condition cc, bool strict) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// sp[0] : y |
// sp[1] : x |
// result : cc register |
@@ -1076,7 +1076,7 @@ |
// Call the function on the stack with the given arguments. |
void CodeGenerator::CallWithArguments(ZoneList<Expression*>* args, |
int position) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// Push the arguments ("left-to-right") on the stack. |
int arg_count = args->length(); |
for (int i = 0; i < arg_count; i++) { |
@@ -1097,7 +1097,7 @@ |
void CodeGenerator::Branch(bool if_true, JumpTarget* target) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(has_cc()); |
Condition cc = if_true ? cc_reg_ : NegateCondition(cc_reg_); |
target->Branch(cc); |
@@ -1106,7 +1106,7 @@ |
void CodeGenerator::CheckStack() { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
if (FLAG_check_stack) { |
Comment cmnt(masm_, "[ check stack"); |
StackCheckStub stub; |
@@ -1141,7 +1141,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
for (int i = 0; frame_ != NULL && i < statements->length(); i++) { |
VisitAndSpill(statements->at(i)); |
} |
@@ -1153,7 +1153,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Block"); |
CodeForStatementPosition(node); |
node->break_target()->set_direction(JumpTarget::FORWARD_ONLY); |
@@ -1167,7 +1167,7 @@ |
void CodeGenerator::DeclareGlobals(Handle<FixedArray> pairs) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
__ mov(r0, Operand(pairs)); |
frame_->EmitPush(r0); |
frame_->EmitPush(cp); |
@@ -1182,7 +1182,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Declaration"); |
CodeForStatementPosition(node); |
Variable* var = node->proxy()->var(); |
@@ -1254,7 +1254,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ ExpressionStatement"); |
CodeForStatementPosition(node); |
Expression* expression = node->expression(); |
@@ -1269,7 +1269,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "// EmptyStatement"); |
CodeForStatementPosition(node); |
// nothing to do |
@@ -1281,7 +1281,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ IfStatement"); |
// Generate different code depending on which parts of the if statement |
// are present or not. |
@@ -1371,7 +1371,7 @@ |
void CodeGenerator::VisitContinueStatement(ContinueStatement* node) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ ContinueStatement"); |
CodeForStatementPosition(node); |
node->target()->continue_target()->Jump(); |
@@ -1379,7 +1379,7 @@ |
void CodeGenerator::VisitBreakStatement(BreakStatement* node) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ BreakStatement"); |
CodeForStatementPosition(node); |
node->target()->break_target()->Jump(); |
@@ -1387,7 +1387,7 @@ |
void CodeGenerator::VisitReturnStatement(ReturnStatement* node) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ ReturnStatement"); |
if (function_return_is_shadowed_) { |
@@ -1414,7 +1414,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ WithEnterStatement"); |
CodeForStatementPosition(node); |
LoadAndSpill(node->expression()); |
@@ -1440,7 +1440,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ WithExitStatement"); |
CodeForStatementPosition(node); |
// Pop context. |
@@ -1467,7 +1467,7 @@ |
Label* default_label, |
Vector<Label*> case_targets, |
Vector<Label> case_labels) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
JumpTarget setup_default; |
JumpTarget is_smi; |
@@ -1536,7 +1536,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ SwitchStatement"); |
CodeForStatementPosition(node); |
node->break_target()->set_direction(JumpTarget::FORWARD_ONLY); |
@@ -1630,7 +1630,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ LoopStatement"); |
CodeForStatementPosition(node); |
node->break_target()->set_direction(JumpTarget::FORWARD_ONLY); |
@@ -1820,7 +1820,7 @@ |
int original_height = frame_->height(); |
#endif |
ASSERT(!in_spilled_code()); |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ ForInStatement"); |
CodeForStatementPosition(node); |
@@ -2014,7 +2014,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ TryCatch"); |
CodeForStatementPosition(node); |
@@ -2141,7 +2141,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ TryFinally"); |
CodeForStatementPosition(node); |
@@ -2328,7 +2328,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ DebuggerStatament"); |
CodeForStatementPosition(node); |
#ifdef ENABLE_DEBUGGER_SUPPORT |
@@ -2340,7 +2340,7 @@ |
void CodeGenerator::InstantiateBoilerplate(Handle<JSFunction> boilerplate) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(boilerplate->IsBoilerplate()); |
// Push the boilerplate on the stack. |
@@ -2358,7 +2358,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ FunctionLiteral"); |
// Build the function boilerplate and instantiate it. |
@@ -2378,7 +2378,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ FunctionBoilerplateLiteral"); |
InstantiateBoilerplate(node->boilerplate()); |
ASSERT(frame_->height() == original_height + 1); |
@@ -2389,7 +2389,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Conditional"); |
JumpTarget then; |
JumpTarget else_; |
@@ -2408,7 +2408,7 @@ |
void CodeGenerator::LoadFromSlot(Slot* slot, TypeofState typeof_state) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
if (slot->type() == Slot::LOOKUP) { |
ASSERT(slot->var()->is_dynamic()); |
@@ -2561,7 +2561,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Slot"); |
LoadFromSlot(node, typeof_state()); |
ASSERT(frame_->height() == original_height + 1); |
@@ -2572,7 +2572,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ VariableProxy"); |
Variable* var = node->var(); |
@@ -2592,7 +2592,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Literal"); |
__ mov(r0, Operand(node->handle())); |
frame_->EmitPush(r0); |
@@ -2604,7 +2604,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ RexExp Literal"); |
// Retrieve the literal array and check the allocated entry. |
@@ -2664,7 +2664,7 @@ |
void DeferredObjectLiteral::Generate() { |
// Argument is passed in r1. |
enter()->Bind(); |
- VirtualFrame::SpilledScope spilled_scope(generator()); |
+ VirtualFrame::SpilledScope spilled_scope; |
// If the entry is undefined we call the runtime system to compute |
// the literal. |
@@ -2690,7 +2690,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ ObjectLiteral"); |
DeferredObjectLiteral* deferred = new DeferredObjectLiteral(this, node); |
@@ -2793,7 +2793,7 @@ |
void DeferredArrayLiteral::Generate() { |
// Argument is passed in r1. |
enter()->Bind(); |
- VirtualFrame::SpilledScope spilled_scope(generator()); |
+ VirtualFrame::SpilledScope spilled_scope; |
// If the entry is undefined we call the runtime system to computed |
// the literal. |
@@ -2819,7 +2819,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ ArrayLiteral"); |
DeferredArrayLiteral* deferred = new DeferredArrayLiteral(this, node); |
@@ -2893,7 +2893,7 @@ |
int original_height = frame_->height(); |
#endif |
ASSERT(!in_spilled_code()); |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// Call runtime routine to allocate the catch extension object and |
// assign the exception value to the catch variable. |
Comment cmnt(masm_, "[ CatchExtensionObject"); |
@@ -2910,7 +2910,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Assignment"); |
CodeForStatementPosition(node); |
@@ -2978,7 +2978,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Throw"); |
LoadAndSpill(node->exception()); |
@@ -2993,7 +2993,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Property"); |
{ Reference property(this, node); |
@@ -3007,7 +3007,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ Call"); |
ZoneList<Expression*>* args = node->arguments(); |
@@ -3156,7 +3156,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ CallEval"); |
// In a call to eval, we first call %ResolvePossiblyDirectEval to resolve |
@@ -3214,7 +3214,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ CallNew"); |
CodeForStatementPosition(node); |
@@ -3264,7 +3264,7 @@ |
void CodeGenerator::GenerateValueOf(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 1); |
JumpTarget leave; |
LoadAndSpill(args->at(0)); |
@@ -3286,7 +3286,7 @@ |
void CodeGenerator::GenerateSetValueOf(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 2); |
JumpTarget leave; |
LoadAndSpill(args->at(0)); // Load the object. |
@@ -3314,7 +3314,7 @@ |
void CodeGenerator::GenerateIsSmi(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 1); |
LoadAndSpill(args->at(0)); |
frame_->EmitPop(r0); |
@@ -3324,7 +3324,7 @@ |
void CodeGenerator::GenerateLog(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
// See comment in CodeGenerator::GenerateLog in codegen-ia32.cc. |
ASSERT_EQ(args->length(), 3); |
#ifdef ENABLE_LOGGING_AND_PROFILING |
@@ -3340,7 +3340,7 @@ |
void CodeGenerator::GenerateIsNonNegativeSmi(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 1); |
LoadAndSpill(args->at(0)); |
frame_->EmitPop(r0); |
@@ -3353,7 +3353,7 @@ |
// undefined in order to trigger the slow case, Runtime_StringCharCodeAt. |
// It is not yet implemented on ARM, so it always goes to the slow case. |
void CodeGenerator::GenerateFastCharCodeAt(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 2); |
__ mov(r0, Operand(Factory::undefined_value())); |
frame_->EmitPush(r0); |
@@ -3361,7 +3361,7 @@ |
void CodeGenerator::GenerateIsArray(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 1); |
LoadAndSpill(args->at(0)); |
JumpTarget answer; |
@@ -3383,7 +3383,7 @@ |
void CodeGenerator::GenerateArgumentsLength(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 0); |
// Seed the result with the formal parameters count, which will be used |
@@ -3398,7 +3398,7 @@ |
void CodeGenerator::GenerateArgumentsAccess(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 1); |
// Satisfy contract with ArgumentsAccessStub: |
@@ -3415,7 +3415,7 @@ |
void CodeGenerator::GenerateObjectEquals(ZoneList<Expression*>* args) { |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 2); |
// Load the two objects into registers and perform the comparison. |
@@ -3432,7 +3432,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
if (CheckForInlineRuntimeCall(node)) { |
ASSERT((has_cc() && frame_->height() == original_height) || |
(!has_cc() && frame_->height() == original_height + 1)); |
@@ -3479,7 +3479,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ UnaryOperation"); |
Token::Value op = node->op(); |
@@ -3620,7 +3620,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ CountOperation"); |
bool is_postfix = node->is_postfix(); |
@@ -3722,7 +3722,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ BinaryOperation"); |
Token::Value op = node->op(); |
@@ -3872,7 +3872,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
__ ldr(r0, frame_->Function()); |
frame_->EmitPush(r0); |
ASSERT(frame_->height() == original_height + 1); |
@@ -3883,7 +3883,7 @@ |
#ifdef DEBUG |
int original_height = frame_->height(); |
#endif |
- VirtualFrame::SpilledScope spilled_scope(this); |
+ VirtualFrame::SpilledScope spilled_scope; |
Comment cmnt(masm_, "[ CompareOperation"); |
// Get the expressions from the node. |