Commit 3fdc4896 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Fix presubmit errors.

TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/570024

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3796 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 4f179b09
......@@ -225,7 +225,7 @@ void CodeGenerator::Generate(CompilationInfo* info, Mode mode) {
Variable* par = scope()->parameter(i);
Slot* slot = par->slot();
if (slot != NULL && slot->type() == Slot::CONTEXT) {
ASSERT(!scope()->is_global_scope()); // no parameters in global scope
ASSERT(!scope()->is_global_scope()); // No params in global scope.
__ ldr(r1, frame_->ParameterAt(i));
// Loads r2 with context; used below in RecordWrite.
__ str(r1, SlotOperand(slot, r2));
......
......@@ -208,7 +208,7 @@ class CodeGenerator: public AstVisitor {
private:
// Construction/Destruction
CodeGenerator(MacroAssembler* masm);
explicit CodeGenerator(MacroAssembler* masm);
// Accessors
inline bool is_eval();
......
......@@ -42,7 +42,7 @@ class FastCodeGenSyntaxChecker: public AstVisitor {
: info_(NULL), has_supported_syntax_(true) {
}
void Check(CompilationInfo* info);
void Check(CompilationInfo* info);
CompilationInfo* info() { return info_; }
bool has_supported_syntax() { return has_supported_syntax_; }
......@@ -65,7 +65,7 @@ class FastCodeGenSyntaxChecker: public AstVisitor {
class FastCodeGenerator: public AstVisitor {
public:
FastCodeGenerator(MacroAssembler* masm) : masm_(masm), info_(NULL) {}
explicit FastCodeGenerator(MacroAssembler* masm) : masm_(masm), info_(NULL) {}
static Handle<Code> MakeCode(CompilationInfo* info);
......
......@@ -68,7 +68,7 @@ class FullCodeGenerator: public AstVisitor {
SECONDARY
};
FullCodeGenerator(MacroAssembler* masm)
explicit FullCodeGenerator(MacroAssembler* masm)
: masm_(masm),
info_(NULL),
nesting_stack_(NULL),
......
......@@ -348,7 +348,7 @@ class CodeGenerator: public AstVisitor {
private:
// Construction/Destruction
CodeGenerator(MacroAssembler* masm);
explicit CodeGenerator(MacroAssembler* masm);
// Accessors
inline bool is_eval();
......
......@@ -34,7 +34,7 @@
// cannot be changed without changing the SCons build script.
#define MAJOR_VERSION 2
#define MINOR_VERSION 1
#define BUILD_NUMBER 1
#define BUILD_NUMBER 1
#define PATCH_LEVEL 0
#define CANDIDATE_VERSION true
......
......@@ -348,7 +348,7 @@ class CodeGenerator: public AstVisitor {
private:
// Construction/Destruction
CodeGenerator(MacroAssembler* masm);
explicit CodeGenerator(MacroAssembler* masm);
// Accessors
inline bool is_eval();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment