| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 479fe2fb6396bc81ac15aebaffb9cb9eae69f16c..6fa496a9026dd810892309ff63d2483394535b18 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1087,7 +1087,7 @@ Failure* Isolate::StackOverflow() {
|
| Handle<String> key = factory()->stack_overflow_string();
|
| Handle<JSObject> boilerplate =
|
| Handle<JSObject>::cast(GetProperty(this, js_builtins_object(), key));
|
| - Handle<JSObject> exception = JSObject::Copy(boilerplate);
|
| + Handle<JSObject> exception = Copy(boilerplate);
|
| DoThrow(*exception, NULL);
|
|
|
| // Get stack trace limit.
|
| @@ -1776,9 +1776,6 @@ Isolate::Isolate()
|
| // TODO(bmeurer) Initialized lazily because it depends on flags; can
|
| // be fixed once the default isolate cleanup is done.
|
| random_number_generator_(NULL),
|
| - // TODO(rmcilroy) Currently setting this based on
|
| - // FLAG_force_memory_constrained in Isolate::Init; move to here when
|
| - // isolate cleanup is done
|
| is_memory_constrained_(false),
|
| has_fatal_error_(false),
|
| use_crankshaft_(true),
|
| @@ -2138,8 +2135,6 @@ bool Isolate::Init(Deserializer* des) {
|
| TRACE_ISOLATE(init);
|
|
|
| stress_deopt_count_ = FLAG_deopt_every_n_times;
|
| - if (FLAG_force_memory_constrained.has_value)
|
| - is_memory_constrained_ = FLAG_force_memory_constrained.value;
|
|
|
| has_fatal_error_ = false;
|
|
|
|
|