Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: src/compiler.cc

Issue 889383002: Initialize CompilationInfo::osr_expr_stack_height correctly. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index d31ca9e11bed6d7cec3ca8dd54eaf6e9e2790577..f792f226b713945a20aa490d1a405d78f0142763 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -57,7 +57,8 @@ CompilationInfo::CompilationInfo(Handle<Script> script, Zone* zone)
optimization_id_(-1),
ast_value_factory_(NULL),
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);
}
@@ -71,7 +72,8 @@ CompilationInfo::CompilationInfo(Isolate* isolate, Zone* zone)
optimization_id_(-1),
ast_value_factory_(NULL),
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);
}
@@ -87,7 +89,8 @@ CompilationInfo::CompilationInfo(Handle<SharedFunctionInfo> shared_info,
optimization_id_(-1),
ast_value_factory_(NULL),
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);
}
@@ -104,7 +107,8 @@ CompilationInfo::CompilationInfo(Handle<JSFunction> closure, Zone* zone)
optimization_id_(-1),
ast_value_factory_(NULL),
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);
}
@@ -118,7 +122,8 @@ CompilationInfo::CompilationInfo(HydrogenCodeStub* stub, Isolate* isolate,
optimization_id_(-1),
ast_value_factory_(NULL),
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);
code_stub_ = stub;
}
@@ -136,7 +141,8 @@ CompilationInfo::CompilationInfo(
optimization_id_(-1),
ast_value_factory_(NULL),
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698