Fix presubmit errors introduced by r5768.
Review URL: http://codereview.chromium.org/4409003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5770 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
861a66fb67
commit
9b96a9d592
@ -1290,7 +1290,7 @@ class Assembler : public Malloced {
|
||||
|
||||
class EnsureSpace BASE_EMBEDDED {
|
||||
public:
|
||||
EnsureSpace(Assembler* assembler) {
|
||||
explicit EnsureSpace(Assembler* assembler) {
|
||||
assembler->CheckBuffer();
|
||||
}
|
||||
};
|
||||
|
@ -1766,7 +1766,6 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
||||
int arg_count = args->length();
|
||||
|
||||
{ PreserveStatementPositionScope pos_scope(masm()->positions_recorder());
|
||||
|
||||
VisitForStackValue(fun);
|
||||
__ LoadRoot(r2, Heap::kUndefinedValueRootIndex);
|
||||
__ push(r2); // Reserved receiver slot.
|
||||
|
@ -629,7 +629,7 @@ class PositionsRecorder BASE_EMBEDDED {
|
||||
|
||||
class PreserveStatementPositionScope BASE_EMBEDDED {
|
||||
public:
|
||||
PreserveStatementPositionScope(PositionsRecorder* positions_recorder)
|
||||
explicit PreserveStatementPositionScope(PositionsRecorder* positions_recorder)
|
||||
: positions_recorder_(positions_recorder),
|
||||
statement_position_(positions_recorder->current_statement_position()) {}
|
||||
|
||||
|
@ -2072,7 +2072,8 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
||||
int arg_count = args->length();
|
||||
{ PreserveStatementPositionScope pos_scope(masm()->positions_recorder());
|
||||
VisitForStackValue(fun);
|
||||
__ push(Immediate(Factory::undefined_value())); // Reserved receiver slot.
|
||||
// Reserved receiver slot.
|
||||
__ push(Immediate(Factory::undefined_value()));
|
||||
|
||||
// Push the arguments.
|
||||
for (int i = 0; i < arg_count; i++) {
|
||||
|
@ -1796,7 +1796,6 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
||||
ZoneList<Expression*>* args = expr->arguments();
|
||||
int arg_count = args->length();
|
||||
{ PreserveStatementPositionScope pos_scope(masm()->positions_recorder());
|
||||
|
||||
VisitForStackValue(fun);
|
||||
__ PushRoot(Heap::kUndefinedValueRootIndex); // Reserved receiver slot.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user