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

Side by Side Diff: src/snapshot/serialize.cc

Issue 1474943005: Revert of [debugger] flood function for stepping before calling it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « src/runtime/runtime-debug.cc ('k') | src/x64/builtins-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 "src/snapshot/serialize.h" 5 #include "src/snapshot/serialize.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/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 Add(ExternalReference::address_of_real_stack_limit(isolate).address(), 53 Add(ExternalReference::address_of_real_stack_limit(isolate).address(),
54 "StackGuard::address_of_real_jslimit()"); 54 "StackGuard::address_of_real_jslimit()");
55 Add(ExternalReference::new_space_start(isolate).address(), 55 Add(ExternalReference::new_space_start(isolate).address(),
56 "Heap::NewSpaceStart()"); 56 "Heap::NewSpaceStart()");
57 Add(ExternalReference::new_space_mask(isolate).address(), 57 Add(ExternalReference::new_space_mask(isolate).address(),
58 "Heap::NewSpaceMask()"); 58 "Heap::NewSpaceMask()");
59 Add(ExternalReference::new_space_allocation_limit_address(isolate).address(), 59 Add(ExternalReference::new_space_allocation_limit_address(isolate).address(),
60 "Heap::NewSpaceAllocationLimitAddress()"); 60 "Heap::NewSpaceAllocationLimitAddress()");
61 Add(ExternalReference::new_space_allocation_top_address(isolate).address(), 61 Add(ExternalReference::new_space_allocation_top_address(isolate).address(),
62 "Heap::NewSpaceAllocationTopAddress()"); 62 "Heap::NewSpaceAllocationTopAddress()");
63 Add(ExternalReference::debug_last_step_action_address(isolate).address(), 63 Add(ExternalReference::debug_step_in_fp_address(isolate).address(),
64 "Debug::last_step_action_addr()"); 64 "Debug::step_in_fp_addr()");
65 Add(ExternalReference::mod_two_doubles_operation(isolate).address(), 65 Add(ExternalReference::mod_two_doubles_operation(isolate).address(),
66 "mod_two_doubles"); 66 "mod_two_doubles");
67 // Keyed lookup cache. 67 // Keyed lookup cache.
68 Add(ExternalReference::keyed_lookup_cache_keys(isolate).address(), 68 Add(ExternalReference::keyed_lookup_cache_keys(isolate).address(),
69 "KeyedLookupCache::keys()"); 69 "KeyedLookupCache::keys()");
70 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(), 70 Add(ExternalReference::keyed_lookup_cache_field_offsets(isolate).address(),
71 "KeyedLookupCache::field_offsets()"); 71 "KeyedLookupCache::field_offsets()");
72 Add(ExternalReference::handle_scope_next_address(isolate).address(), 72 Add(ExternalReference::handle_scope_next_address(isolate).address(),
73 "HandleScope::next"); 73 "HandleScope::next");
74 Add(ExternalReference::handle_scope_limit_address(isolate).address(), 74 Add(ExternalReference::handle_scope_limit_address(isolate).address(),
(...skipping 2781 matching lines...) Expand 10 before | Expand all | Expand 10 after
2856 SerializedCodeData* scd = new SerializedCodeData(cached_data); 2856 SerializedCodeData* scd = new SerializedCodeData(cached_data);
2857 SanityCheckResult r = scd->SanityCheck(isolate, source); 2857 SanityCheckResult r = scd->SanityCheck(isolate, source);
2858 if (r == CHECK_SUCCESS) return scd; 2858 if (r == CHECK_SUCCESS) return scd;
2859 cached_data->Reject(); 2859 cached_data->Reject();
2860 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r); 2860 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r);
2861 delete scd; 2861 delete scd;
2862 return NULL; 2862 return NULL;
2863 } 2863 }
2864 } // namespace internal 2864 } // namespace internal
2865 } // namespace v8 2865 } // namespace v8
OLDNEW
« no previous file with comments | « src/runtime/runtime-debug.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698