| Index: src/d8.cc
|
| diff --git a/src/d8.cc b/src/d8.cc
|
| index fb75d81c24729a592a833254902896f32050f125..6e4e61d15e4b3f997b1ec56c51e98a670149f27f 100644
|
| --- a/src/d8.cc
|
| +++ b/src/d8.cc
|
| @@ -939,8 +939,8 @@ Local<Context> Shell::CreateEvaluationContext(Isolate* isolate) {
|
| i::Factory* factory = reinterpret_cast<i::Isolate*>(isolate)->factory();
|
| i::JSArguments js_args = i::FLAG_js_arguments;
|
| i::Handle<i::FixedArray> arguments_array =
|
| - factory->NewFixedArray(js_args.argc());
|
| - for (int j = 0; j < js_args.argc(); j++) {
|
| + factory->NewFixedArray(js_args.argc);
|
| + for (int j = 0; j < js_args.argc; j++) {
|
| i::Handle<i::String> arg =
|
| factory->NewStringFromUtf8(i::CStrVector(js_args[j]));
|
| arguments_array->set(j, *arg);
|
|
|