| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 989b8ff7d85320e41049c41cac9cfb69ece62faa..a721e3bdb127d03b297e60da81312a37e0d79e77 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -1872,6 +1872,7 @@ Isolate::Isolate(bool enable_serializer)
|
| // TODO(bmeurer) Initialized lazily because it depends on flags; can
|
| // be fixed once the default isolate cleanup is done.
|
| random_number_generator_(NULL),
|
| + rail_mode_(PERFORMANCE_DEFAULT),
|
| serializer_enabled_(enable_serializer),
|
| has_fatal_error_(false),
|
| initialized_from_snapshot_(false),
|
| @@ -3015,6 +3016,12 @@ void Isolate::CheckDetachedContextsAfterGC() {
|
| }
|
| }
|
|
|
| +void Isolate::SetRAILMode(RAILMode rail_mode) {
|
| + rail_mode_ = rail_mode;
|
| + if (FLAG_trace_rail) {
|
| + PrintIsolate(this, "RAIL mode: %s\n", RAILModeName(rail_mode_));
|
| + }
|
| +}
|
|
|
| bool StackLimitCheck::JsHasOverflowed(uintptr_t gap) const {
|
| StackGuard* stack_guard = isolate_->stack_guard();
|
|
|