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

Side by Side Diff: src/isolate.cc

Issue 806783002: Reland Call DisableInlineAllocation() in heap setup when flag inline_new is off. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdlib.h> 5 #include <stdlib.h>
6 6
7 #include <fstream> // NOLINT(readability/streams) 7 #include <fstream> // NOLINT(readability/streams)
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/v8.h" 10 #include "src/v8.h"
(...skipping 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 // Ensure that all stubs which need to be generated ahead of time, but 2141 // Ensure that all stubs which need to be generated ahead of time, but
2142 // cannot be serialized into the snapshot have been generated. 2142 // cannot be serialized into the snapshot have been generated.
2143 HandleScope scope(this); 2143 HandleScope scope(this);
2144 CodeStub::GenerateFPStubs(this); 2144 CodeStub::GenerateFPStubs(this);
2145 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); 2145 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this);
2146 StubFailureTrampolineStub::GenerateAheadOfTime(this); 2146 StubFailureTrampolineStub::GenerateAheadOfTime(this);
2147 } 2147 }
2148 2148
2149 initialized_from_snapshot_ = (des != NULL); 2149 initialized_from_snapshot_ = (des != NULL);
2150 2150
2151 if (!FLAG_inline_new) heap_.DisableInlineAllocation();
2152
2151 return true; 2153 return true;
2152 } 2154 }
2153 2155
2154 2156
2155 // Initialized lazily to allow early 2157 // Initialized lazily to allow early
2156 // v8::V8::SetAddHistogramSampleFunction calls. 2158 // v8::V8::SetAddHistogramSampleFunction calls.
2157 StatsTable* Isolate::stats_table() { 2159 StatsTable* Isolate::stats_table() {
2158 if (stats_table_ == NULL) { 2160 if (stats_table_ == NULL) {
2159 stats_table_ = new StatsTable; 2161 stats_table_ = new StatsTable;
2160 } 2162 }
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 if (prev_ && prev_->Intercept(flag)) return true; 2551 if (prev_ && prev_->Intercept(flag)) return true;
2550 // Then check whether this scope intercepts. 2552 // Then check whether this scope intercepts.
2551 if ((flag & intercept_mask_)) { 2553 if ((flag & intercept_mask_)) {
2552 intercepted_flags_ |= flag; 2554 intercepted_flags_ |= flag;
2553 return true; 2555 return true;
2554 } 2556 }
2555 return false; 2557 return false;
2556 } 2558 }
2557 2559
2558 } } // namespace v8::internal 2560 } } // namespace v8::internal
OLDNEW
« 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