Revision: 3877
Author: [email protected]
Date: Tue Feb 16 07:29:35 2010
Log: Fix the build after previous commit.
[email protected]
Review URL: http://codereview.chromium.org/605030
http://code.google.com/p/v8/source/detail?r=3877
Modified:
/branches/bleeding_edge/src/bootstrapper.cc
/branches/bleeding_edge/src/debug.cc
/branches/bleeding_edge/src/handles.cc
/branches/bleeding_edge/test/cctest/test-compiler.cc
=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Tue Feb 16 04:14:23 2010
+++ /branches/bleeding_edge/src/bootstrapper.cc Tue Feb 16 07:29:35 2010
@@ -824,7 +824,8 @@
ASSERT(source->IsAsciiRepresentation());
Handle<String> 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<String>::null());
if (boilerplate.is_null()) return false;
cache->Add(name, boilerplate);
}
=======================================
--- /branches/bleeding_edge/src/debug.cc Mon Feb 8 06:33:34 2010
+++ /branches/bleeding_edge/src/debug.cc Tue Feb 16 07:29:35 2010
@@ -683,7 +683,8 @@
bool allow_natives_syntax = FLAG_allow_natives_syntax;
FLAG_allow_natives_syntax = true;
Handle<JSFunction> boilerplate;
- boilerplate = Compiler::Compile(source_code, script_name, 0, 0, NULL,
NULL);
+ boilerplate = Compiler::Compile(source_code, script_name, 0, 0, NULL,
NULL,
+ Handle<String>::null());
FLAG_allow_natives_syntax = allow_natives_syntax;
// Silently ignore stack overflows during compilation.
=======================================
--- /branches/bleeding_edge/src/handles.cc Tue Feb 16 05:01:05 2010
+++ /branches/bleeding_edge/src/handles.cc Tue Feb 16 07:29:35 2010
@@ -770,7 +770,8 @@
Handle<String> 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<String>::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
=======================================
--- /branches/bleeding_edge/test/cctest/test-compiler.cc Tue Feb 16
04:08:10 2010
+++ /branches/bleeding_edge/test/cctest/test-compiler.cc Tue Feb 16
07:29:35 2010
@@ -115,7 +115,8 @@
static Handle<JSFunction> Compile(const char* source) {
Handle<String>
source_code(Factory::NewStringFromUtf8(CStrVector(source)));
Handle<JSFunction> boilerplate =
- Compiler::Compile(source_code, Handle<String>(), 0, 0, NULL, NULL);
+ Compiler::Compile(source_code, Handle<String>(), 0, 0, NULL, NULL,
+ Handle<String>::null());
return Factory::NewFunctionFromBoilerplate(boilerplate,
Top::global_context());
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev