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

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

Issue 202005: Add ScopeTypeCatch to ScopeIterator (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 3 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/d8.js ('k') | src/runtime.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-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 PropertyAttribute.None = NONE; 194 PropertyAttribute.None = NONE;
195 PropertyAttribute.ReadOnly = READ_ONLY; 195 PropertyAttribute.ReadOnly = READ_ONLY;
196 PropertyAttribute.DontEnum = DONT_ENUM; 196 PropertyAttribute.DontEnum = DONT_ENUM;
197 PropertyAttribute.DontDelete = DONT_DELETE; 197 PropertyAttribute.DontDelete = DONT_DELETE;
198 198
199 199
200 // A copy of the scope types from runtime.cc. 200 // A copy of the scope types from runtime.cc.
201 ScopeType = { Global: 0, 201 ScopeType = { Global: 0,
202 Local: 1, 202 Local: 1,
203 With: 2, 203 With: 2,
204 Closure: 3 }; 204 Closure: 3,
205 Catch: 4 };
205 206
206 207
207 // Mirror hierarchy: 208 // Mirror hierarchy:
208 // - Mirror 209 // - Mirror
209 // - ValueMirror 210 // - ValueMirror
210 // - UndefinedMirror 211 // - UndefinedMirror
211 // - NullMirror 212 // - NullMirror
212 // - NumberMirror 213 // - NumberMirror
213 // - StringMirror 214 // - StringMirror
214 // - ObjectMirror 215 // - ObjectMirror
(...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after
2269 } 2270 }
2270 if (!isFinite(value)) { 2271 if (!isFinite(value)) {
2271 if (value > 0) { 2272 if (value > 0) {
2272 return 'Infinity'; 2273 return 'Infinity';
2273 } else { 2274 } else {
2274 return '-Infinity'; 2275 return '-Infinity';
2275 } 2276 }
2276 } 2277 }
2277 return value; 2278 return value;
2278 } 2279 }
OLDNEW
« no previous file with comments | « src/d8.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698