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

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

Issue 19485008: Replace CONSTANT_FUNCTION by CONSTANT (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 5 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/ic.cc ('k') | src/objects.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // Different kind of properties. 166 // Different kind of properties.
167 var PropertyKind = {}; 167 var PropertyKind = {};
168 PropertyKind.Named = 1; 168 PropertyKind.Named = 1;
169 PropertyKind.Indexed = 2; 169 PropertyKind.Indexed = 2;
170 170
171 171
172 // A copy of the PropertyType enum from global.h 172 // A copy of the PropertyType enum from global.h
173 var PropertyType = {}; 173 var PropertyType = {};
174 PropertyType.Normal = 0; 174 PropertyType.Normal = 0;
175 PropertyType.Field = 1; 175 PropertyType.Field = 1;
176 PropertyType.ConstantFunction = 2; 176 PropertyType.Constant = 2;
177 PropertyType.Callbacks = 3; 177 PropertyType.Callbacks = 3;
178 PropertyType.Handler = 4; 178 PropertyType.Handler = 4;
179 PropertyType.Interceptor = 5; 179 PropertyType.Interceptor = 5;
180 PropertyType.Transition = 6; 180 PropertyType.Transition = 6;
181 PropertyType.Nonexistent = 7; 181 PropertyType.Nonexistent = 7;
182 182
183 183
184 // Different attributes for a property. 184 // Different attributes for a property.
185 var PropertyAttribute = {}; 185 var PropertyAttribute = {};
186 PropertyAttribute.None = NONE; 186 PropertyAttribute.None = NONE;
(...skipping 2457 matching lines...) Expand 10 before | Expand all | Expand 10 after
2644 } 2644 }
2645 if (!NUMBER_IS_FINITE(value)) { 2645 if (!NUMBER_IS_FINITE(value)) {
2646 if (value > 0) { 2646 if (value > 0) {
2647 return 'Infinity'; 2647 return 'Infinity';
2648 } else { 2648 } else {
2649 return '-Infinity'; 2649 return '-Infinity';
2650 } 2650 }
2651 } 2651 }
2652 return value; 2652 return value;
2653 } 2653 }
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698