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

Side by Side Diff: src/isolate.cc

Issue 535103002: CallDescriptors::InitializeForIsolate() is no longer needed. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/interface-descriptors.cc ('k') | src/x64/interface-descriptors-x64.cc » ('j') | 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 "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/ast.h" 9 #include "src/ast.h"
10 #include "src/base/platform/platform.h" 10 #include "src/base/platform/platform.h"
(...skipping 1899 matching lines...) Expand 10 before | Expand all | Expand 10 after
1910 1910
1911 // SetUp the object heap. 1911 // SetUp the object heap.
1912 DCHECK(!heap_.HasBeenSetUp()); 1912 DCHECK(!heap_.HasBeenSetUp());
1913 if (!heap_.SetUp()) { 1913 if (!heap_.SetUp()) {
1914 V8::FatalProcessOutOfMemory("heap setup"); 1914 V8::FatalProcessOutOfMemory("heap setup");
1915 return false; 1915 return false;
1916 } 1916 }
1917 1917
1918 deoptimizer_data_ = new DeoptimizerData(memory_allocator_); 1918 deoptimizer_data_ = new DeoptimizerData(memory_allocator_);
1919 1919
1920 CallDescriptors::InitializeForIsolate(this);
1921
1922 const bool create_heap_objects = (des == NULL); 1920 const bool create_heap_objects = (des == NULL);
1923 if (create_heap_objects && !heap_.CreateHeapObjects()) { 1921 if (create_heap_objects && !heap_.CreateHeapObjects()) {
1924 V8::FatalProcessOutOfMemory("heap object creation"); 1922 V8::FatalProcessOutOfMemory("heap object creation");
1925 return false; 1923 return false;
1926 } 1924 }
1927 1925
1928 if (create_heap_objects) { 1926 if (create_heap_objects) {
1929 // Terminate the cache array with the sentinel so we can iterate. 1927 // Terminate the cache array with the sentinel so we can iterate.
1930 PushToPartialSnapshotCache(heap_.undefined_value()); 1928 PushToPartialSnapshotCache(heap_.undefined_value());
1931 } 1929 }
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
2413 if (prev_ && prev_->Intercept(flag)) return true; 2411 if (prev_ && prev_->Intercept(flag)) return true;
2414 // Then check whether this scope intercepts. 2412 // Then check whether this scope intercepts.
2415 if ((flag & intercept_mask_)) { 2413 if ((flag & intercept_mask_)) {
2416 intercepted_flags_ |= flag; 2414 intercepted_flags_ |= flag;
2417 return true; 2415 return true;
2418 } 2416 }
2419 return false; 2417 return false;
2420 } 2418 }
2421 2419
2422 } } // namespace v8::internal 2420 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/interface-descriptors.cc ('k') | src/x64/interface-descriptors-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698