Commit 9df88454 authored by titzer's avatar titzer Committed by Commit bot

Initialize CompilationInfo::osr_expr_stack_height correctly.

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/889383002

Cr-Commit-Position: refs/heads/master@{#26382}
parent 16843e23
...@@ -57,7 +57,8 @@ CompilationInfo::CompilationInfo(Handle<Script> script, Zone* zone) ...@@ -57,7 +57,8 @@ CompilationInfo::CompilationInfo(Handle<Script> script, Zone* zone)
optimization_id_(-1), optimization_id_(-1),
ast_value_factory_(NULL), ast_value_factory_(NULL),
ast_value_factory_owned_(false), ast_value_factory_owned_(false),
aborted_due_to_dependency_change_(false) { aborted_due_to_dependency_change_(false),
osr_expr_stack_height_(0) {
Initialize(script->GetIsolate(), BASE, zone); Initialize(script->GetIsolate(), BASE, zone);
} }
...@@ -71,7 +72,8 @@ CompilationInfo::CompilationInfo(Isolate* isolate, Zone* zone) ...@@ -71,7 +72,8 @@ CompilationInfo::CompilationInfo(Isolate* isolate, Zone* zone)
optimization_id_(-1), optimization_id_(-1),
ast_value_factory_(NULL), ast_value_factory_(NULL),
ast_value_factory_owned_(false), ast_value_factory_owned_(false),
aborted_due_to_dependency_change_(false) { aborted_due_to_dependency_change_(false),
osr_expr_stack_height_(0) {
Initialize(isolate, STUB, zone); Initialize(isolate, STUB, zone);
} }
...@@ -87,7 +89,8 @@ CompilationInfo::CompilationInfo(Handle<SharedFunctionInfo> shared_info, ...@@ -87,7 +89,8 @@ CompilationInfo::CompilationInfo(Handle<SharedFunctionInfo> shared_info,
optimization_id_(-1), optimization_id_(-1),
ast_value_factory_(NULL), ast_value_factory_(NULL),
ast_value_factory_owned_(false), ast_value_factory_owned_(false),
aborted_due_to_dependency_change_(false) { aborted_due_to_dependency_change_(false),
osr_expr_stack_height_(0) {
Initialize(script_->GetIsolate(), BASE, zone); Initialize(script_->GetIsolate(), BASE, zone);
} }
...@@ -104,7 +107,8 @@ CompilationInfo::CompilationInfo(Handle<JSFunction> closure, Zone* zone) ...@@ -104,7 +107,8 @@ CompilationInfo::CompilationInfo(Handle<JSFunction> closure, Zone* zone)
optimization_id_(-1), optimization_id_(-1),
ast_value_factory_(NULL), ast_value_factory_(NULL),
ast_value_factory_owned_(false), ast_value_factory_owned_(false),
aborted_due_to_dependency_change_(false) { aborted_due_to_dependency_change_(false),
osr_expr_stack_height_(0) {
Initialize(script_->GetIsolate(), BASE, zone); Initialize(script_->GetIsolate(), BASE, zone);
} }
...@@ -118,7 +122,8 @@ CompilationInfo::CompilationInfo(HydrogenCodeStub* stub, Isolate* isolate, ...@@ -118,7 +122,8 @@ CompilationInfo::CompilationInfo(HydrogenCodeStub* stub, Isolate* isolate,
optimization_id_(-1), optimization_id_(-1),
ast_value_factory_(NULL), ast_value_factory_(NULL),
ast_value_factory_owned_(false), ast_value_factory_owned_(false),
aborted_due_to_dependency_change_(false) { aborted_due_to_dependency_change_(false),
osr_expr_stack_height_(0) {
Initialize(isolate, STUB, zone); Initialize(isolate, STUB, zone);
code_stub_ = stub; code_stub_ = stub;
} }
...@@ -136,7 +141,8 @@ CompilationInfo::CompilationInfo( ...@@ -136,7 +141,8 @@ CompilationInfo::CompilationInfo(
optimization_id_(-1), optimization_id_(-1),
ast_value_factory_(NULL), ast_value_factory_(NULL),
ast_value_factory_owned_(false), ast_value_factory_owned_(false),
aborted_due_to_dependency_change_(false) { aborted_due_to_dependency_change_(false),
osr_expr_stack_height_(0) {
Initialize(isolate, BASE, zone); Initialize(isolate, BASE, zone);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment