From e61996bf3fd3913af8c797b5c7c9a3cc3ef190b3 Mon Sep 17 00:00:00 2001 From: "mikhail.naganov@gmail.com" Date: Tue, 16 Feb 2010 15:29:35 +0000 Subject: [PATCH] Fix the build after previous commit. TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/605030 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3877 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/bootstrapper.cc | 3 ++- src/debug.cc | 3 ++- src/handles.cc | 3 ++- test/cctest/test-compiler.cc | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index 6dd9fc5..727d4a6 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -824,7 +824,8 @@ bool Genesis::CompileScriptCached(Vector name, ASSERT(source->IsAsciiRepresentation()); Handle script_name = Factory::NewStringFromUtf8(name); boilerplate = - Compiler::Compile(source, script_name, 0, 0, extension, NULL); + Compiler::Compile(source, script_name, 0, 0, extension, NULL, + Handle::null()); if (boilerplate.is_null()) return false; cache->Add(name, boilerplate); } diff --git a/src/debug.cc b/src/debug.cc index 019081f..8c4f51d 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -683,7 +683,8 @@ bool Debug::CompileDebuggerScript(int index) { bool allow_natives_syntax = FLAG_allow_natives_syntax; FLAG_allow_natives_syntax = true; Handle boilerplate; - boilerplate = Compiler::Compile(source_code, script_name, 0, 0, NULL, NULL); + boilerplate = Compiler::Compile(source_code, script_name, 0, 0, NULL, NULL, + Handle::null()); FLAG_allow_natives_syntax = allow_natives_syntax; // Silently ignore stack overflows during compilation. diff --git a/src/handles.cc b/src/handles.cc index ad366c3..971c916 100644 --- a/src/handles.cc +++ b/src/handles.cc @@ -770,7 +770,8 @@ void LoadLazy(Handle obj, bool* pending_exception) { Handle script_name = Factory::NewStringFromAscii(name); bool allow_natives_syntax = FLAG_allow_natives_syntax; FLAG_allow_natives_syntax = true; - boilerplate = Compiler::Compile(source_code, script_name, 0, 0, NULL, NULL); + boilerplate = Compiler::Compile(source_code, script_name, 0, 0, NULL, NULL, + Handle::null()); FLAG_allow_natives_syntax = allow_natives_syntax; // If the compilation failed (possibly due to stack overflows), we // should never enter the result in the natives cache. Instead we diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc index da675d7..a6b5377 100644 --- a/test/cctest/test-compiler.cc +++ b/test/cctest/test-compiler.cc @@ -115,7 +115,8 @@ static void SetGlobalProperty(const char* name, Object* value) { static Handle Compile(const char* source) { Handle source_code(Factory::NewStringFromUtf8(CStrVector(source))); Handle boilerplate = - Compiler::Compile(source_code, Handle(), 0, 0, NULL, NULL); + Compiler::Compile(source_code, Handle(), 0, 0, NULL, NULL, + Handle::null()); return Factory::NewFunctionFromBoilerplate(boilerplate, Top::global_context()); } -- 2.7.4