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

Side by Side Diff: src/mirror-debugger.js

Issue 786193004: PropertyType is divided into PropertyKind and PropertyStoreMode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 6 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/bootstrapper.cc ('k') | src/property-details.h » ('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 2006-2012 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 "use strict"; 4 "use strict";
5 5
6 // Handle id counters. 6 // Handle id counters.
7 var next_handle_ = 0; 7 var next_handle_ = 0;
8 var next_transient_handle_ = -1; 8 var next_transient_handle_ = -1;
9 9
10 // Mirror cache. 10 // Mirror cache.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // Different kind of properties. 175 // Different kind of properties.
176 var PropertyKind = {}; 176 var PropertyKind = {};
177 PropertyKind.Named = 1; 177 PropertyKind.Named = 1;
178 PropertyKind.Indexed = 2; 178 PropertyKind.Indexed = 2;
179 179
180 180
181 // A copy of the PropertyType enum from property-details.h 181 // A copy of the PropertyType enum from property-details.h
182 var PropertyType = {}; 182 var PropertyType = {};
183 PropertyType.Field = 0; 183 PropertyType.Field = 0;
184 PropertyType.Constant = 1; 184 PropertyType.Constant = 1;
185 PropertyType.Callbacks = 2; 185 PropertyType.Callbacks = 3;
186 186
187 187
188 // Different attributes for a property. 188 // Different attributes for a property.
189 var PropertyAttribute = {}; 189 var PropertyAttribute = {};
190 PropertyAttribute.None = NONE; 190 PropertyAttribute.None = NONE;
191 PropertyAttribute.ReadOnly = READ_ONLY; 191 PropertyAttribute.ReadOnly = READ_ONLY;
192 PropertyAttribute.DontEnum = DONT_ENUM; 192 PropertyAttribute.DontEnum = DONT_ENUM;
193 PropertyAttribute.DontDelete = DONT_DELETE; 193 PropertyAttribute.DontDelete = DONT_DELETE;
194 194
195 195
(...skipping 2848 matching lines...) Expand 10 before | Expand all | Expand 10 after
3044 } 3044 }
3045 if (!NUMBER_IS_FINITE(value)) { 3045 if (!NUMBER_IS_FINITE(value)) {
3046 if (value > 0) { 3046 if (value > 0) {
3047 return 'Infinity'; 3047 return 'Infinity';
3048 } else { 3048 } else {
3049 return '-Infinity'; 3049 return '-Infinity';
3050 } 3050 }
3051 } 3051 }
3052 return value; 3052 return value;
3053 } 3053 }
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/property-details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698