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

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

Issue 492433005: Get rid of the NONEXISTENT PropertyType (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix lookupresult Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/lookup.cc ('k') | src/objects.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 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 4
5 // Handle id counters. 5 // Handle id counters.
6 var next_handle_ = 0; 6 var next_handle_ = 0;
7 var next_transient_handle_ = -1; 7 var next_transient_handle_ = -1;
8 8
9 // Mirror cache. 9 // Mirror cache.
10 var mirror_cache_ = []; 10 var mirror_cache_ = [];
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 173
174 // A copy of the PropertyType enum from property-details.h 174 // A copy of the PropertyType enum from property-details.h
175 var PropertyType = {}; 175 var PropertyType = {};
176 PropertyType.Normal = 0; 176 PropertyType.Normal = 0;
177 PropertyType.Field = 1; 177 PropertyType.Field = 1;
178 PropertyType.Constant = 2; 178 PropertyType.Constant = 2;
179 PropertyType.Callbacks = 3; 179 PropertyType.Callbacks = 3;
180 PropertyType.Handler = 4; 180 PropertyType.Handler = 4;
181 PropertyType.Interceptor = 5; 181 PropertyType.Interceptor = 5;
182 PropertyType.Nonexistent = 6;
183 182
184 183
185 // Different attributes for a property. 184 // Different attributes for a property.
186 var PropertyAttribute = {}; 185 var PropertyAttribute = {};
187 PropertyAttribute.None = NONE; 186 PropertyAttribute.None = NONE;
188 PropertyAttribute.ReadOnly = READ_ONLY; 187 PropertyAttribute.ReadOnly = READ_ONLY;
189 PropertyAttribute.DontEnum = DONT_ENUM; 188 PropertyAttribute.DontEnum = DONT_ENUM;
190 PropertyAttribute.DontDelete = DONT_DELETE; 189 PropertyAttribute.DontDelete = DONT_DELETE;
191 190
192 191
(...skipping 2686 matching lines...) Expand 10 before | Expand all | Expand 10 after
2879 } 2878 }
2880 if (!NUMBER_IS_FINITE(value)) { 2879 if (!NUMBER_IS_FINITE(value)) {
2881 if (value > 0) { 2880 if (value > 0) {
2882 return 'Infinity'; 2881 return 'Infinity';
2883 } else { 2882 } else {
2884 return '-Infinity'; 2883 return '-Infinity';
2885 } 2884 }
2886 } 2885 }
2887 return value; 2886 return value;
2888 } 2887 }
OLDNEW
« no previous file with comments | « src/lookup.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698