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

Side by Side Diff: src/objects.h

Issue 1916343002: [debugger] do not expose temporary variables introduced by the parser. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/debug/debug-scopes.cc ('k') | src/runtime/runtime-debug.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 4176 matching lines...) Expand 10 before | Expand all | Expand 10 after
4187 VariableMode ContextLocalMode(int var); 4187 VariableMode ContextLocalMode(int var);
4188 4188
4189 // Return the initialization flag of the given context local. 4189 // Return the initialization flag of the given context local.
4190 InitializationFlag ContextLocalInitFlag(int var); 4190 InitializationFlag ContextLocalInitFlag(int var);
4191 4191
4192 // Return the initialization flag of the given context local. 4192 // Return the initialization flag of the given context local.
4193 MaybeAssignedFlag ContextLocalMaybeAssignedFlag(int var); 4193 MaybeAssignedFlag ContextLocalMaybeAssignedFlag(int var);
4194 4194
4195 // Return true if this local was introduced by the compiler, and should not be 4195 // Return true if this local was introduced by the compiler, and should not be
4196 // exposed to the user in a debugger. 4196 // exposed to the user in a debugger.
4197 bool LocalIsSynthetic(int var); 4197 static bool VariableIsSynthetic(String* name);
4198 4198
4199 // Lookup support for serialized scope info. Returns the 4199 // Lookup support for serialized scope info. Returns the
4200 // the stack slot index for a given slot name if the slot is 4200 // the stack slot index for a given slot name if the slot is
4201 // present; otherwise returns a value < 0. The name must be an internalized 4201 // present; otherwise returns a value < 0. The name must be an internalized
4202 // string. 4202 // string.
4203 int StackSlotIndex(String* name); 4203 int StackSlotIndex(String* name);
4204 4204
4205 // Lookup support for serialized scope info. Returns the local context slot 4205 // Lookup support for serialized scope info. Returns the local context slot
4206 // index for a given slot name if the slot is present; otherwise 4206 // index for a given slot name if the slot is present; otherwise
4207 // returns a value < 0. The name must be an internalized string. 4207 // returns a value < 0. The name must be an internalized string.
(...skipping 6581 matching lines...) Expand 10 before | Expand all | Expand 10 after
10789 } 10789 }
10790 return value; 10790 return value;
10791 } 10791 }
10792 }; 10792 };
10793 10793
10794 10794
10795 } // NOLINT, false-positive due to second-order macros. 10795 } // NOLINT, false-positive due to second-order macros.
10796 } // NOLINT, false-positive due to second-order macros. 10796 } // NOLINT, false-positive due to second-order macros.
10797 10797
10798 #endif // V8_OBJECTS_H_ 10798 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/debug/debug-scopes.cc ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698