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

Side by Side Diff: src/objects.h

Issue 1500933002: [debugger] fix debug-evaluate wrt shadowed context var. (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
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 #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/allocation.h" 10 #include "src/allocation.h"
(...skipping 3993 matching lines...) Expand 10 before | Expand all | Expand 10 after
4004 // no contexts are allocated for this scope ContextLength returns 0. 4004 // no contexts are allocated for this scope ContextLength returns 0.
4005 int ContextLength(); 4005 int ContextLength();
4006 4006
4007 // Does this scope declare a "this" binding? 4007 // Does this scope declare a "this" binding?
4008 bool HasReceiver(); 4008 bool HasReceiver();
4009 4009
4010 // Does this scope declare a "this" binding, and the "this" binding is stack- 4010 // Does this scope declare a "this" binding, and the "this" binding is stack-
4011 // or context-allocated? 4011 // or context-allocated?
4012 bool HasAllocatedReceiver(); 4012 bool HasAllocatedReceiver();
4013 4013
4014 // Does this scope declare a context-allocated "this" binding?
4015 bool HasContextAllocatedReceiver();
4016
4014 // Does this scope declare a "new.target" binding? 4017 // Does this scope declare a "new.target" binding?
4015 bool HasNewTarget(); 4018 bool HasNewTarget();
4016 4019
4017 // Is this scope the scope of a named function expression? 4020 // Is this scope the scope of a named function expression?
4018 bool HasFunctionName(); 4021 bool HasFunctionName();
4019 4022
4020 // Return if this has context allocated locals. 4023 // Return if this has context allocated locals.
4021 bool HasHeapAllocatedLocals(); 4024 bool HasHeapAllocatedLocals();
4022 4025
4023 // Return if contexts are allocated for this scope. 4026 // Return if contexts are allocated for this scope.
(...skipping 6693 matching lines...) Expand 10 before | Expand all | Expand 10 after
10717 } 10720 }
10718 return value; 10721 return value;
10719 } 10722 }
10720 }; 10723 };
10721 10724
10722 10725
10723 } // NOLINT, false-positive due to second-order macros. 10726 } // NOLINT, false-positive due to second-order macros.
10724 } // NOLINT, false-positive due to second-order macros. 10727 } // NOLINT, false-positive due to second-order macros.
10725 10728
10726 #endif // V8_OBJECTS_H_ 10729 #endif // V8_OBJECTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698