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

Side by Side Diff: src/heap/heap.cc

Issue 2156923002: [builtins] Introduce a builtin for Abort(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 5 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
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/ia32/macro-assembler-ia32.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 "src/heap/heap.h" 5 #include "src/heap/heap.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/ast/scopeinfo.h" 9 #include "src/ast/scopeinfo.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 2858 matching lines...) Expand 10 before | Expand all | Expand 10 after
2869 isolate_->keyed_lookup_cache()->Clear(); 2869 isolate_->keyed_lookup_cache()->Clear();
2870 2870
2871 // Initialize context slot cache. 2871 // Initialize context slot cache.
2872 isolate_->context_slot_cache()->Clear(); 2872 isolate_->context_slot_cache()->Clear();
2873 2873
2874 // Initialize descriptor cache. 2874 // Initialize descriptor cache.
2875 isolate_->descriptor_lookup_cache()->Clear(); 2875 isolate_->descriptor_lookup_cache()->Clear();
2876 2876
2877 // Initialize compilation cache. 2877 // Initialize compilation cache.
2878 isolate_->compilation_cache()->Clear(); 2878 isolate_->compilation_cache()->Clear();
2879
2880 CreateFixedStubs();
2881 } 2879 }
2882 2880
2883 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) { 2881 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) {
2884 switch (root_index) { 2882 switch (root_index) {
2885 case kNumberStringCacheRootIndex: 2883 case kNumberStringCacheRootIndex:
2886 case kInstanceofCacheFunctionRootIndex: 2884 case kInstanceofCacheFunctionRootIndex:
2887 case kInstanceofCacheMapRootIndex: 2885 case kInstanceofCacheMapRootIndex:
2888 case kInstanceofCacheAnswerRootIndex: 2886 case kInstanceofCacheAnswerRootIndex:
2889 case kCodeStubsRootIndex: 2887 case kCodeStubsRootIndex:
2890 case kEmptyScriptRootIndex: 2888 case kEmptyScriptRootIndex:
(...skipping 3547 matching lines...) Expand 10 before | Expand all | Expand 10 after
6438 } 6436 }
6439 6437
6440 6438
6441 // static 6439 // static
6442 int Heap::GetStaticVisitorIdForMap(Map* map) { 6440 int Heap::GetStaticVisitorIdForMap(Map* map) {
6443 return StaticVisitorBase::GetVisitorId(map); 6441 return StaticVisitorBase::GetVisitorId(map);
6444 } 6442 }
6445 6443
6446 } // namespace internal 6444 } // namespace internal
6447 } // namespace v8 6445 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698