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

Side by Side Diff: src/scopes.h

Issue 805005: Revert changes 4088 and 4087 to fix build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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/ia32/virtual-frame-ia32.cc ('k') | src/virtual-frame-inl.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-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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 // Determine if we can use lazy compilation for this scope. 271 // Determine if we can use lazy compilation for this scope.
272 bool AllowsLazyCompilation() const; 272 bool AllowsLazyCompilation() const;
273 273
274 // True if the outer context of this scope is always the global context. 274 // True if the outer context of this scope is always the global context.
275 bool HasTrivialOuterContext() const; 275 bool HasTrivialOuterContext() const;
276 276
277 // The number of contexts between this and scope; zero if this == scope. 277 // The number of contexts between this and scope; zero if this == scope.
278 int ContextChainLength(Scope* scope); 278 int ContextChainLength(Scope* scope);
279 279
280
280 // --------------------------------------------------------------------------- 281 // ---------------------------------------------------------------------------
281 // Debugging. 282 // Debugging.
282 283
283 #ifdef DEBUG 284 #ifdef DEBUG
284 void Print(int n = 0); // n = indentation; n < 0 => don't print recursively 285 void Print(int n = 0); // n = indentation; n < 0 => don't print recursively
285 #endif 286 #endif
286 287
287 // --------------------------------------------------------------------------- 288 // ---------------------------------------------------------------------------
288 // Implementation. 289 // Implementation.
289 protected: 290 protected:
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 virtual VariableProxy* NewUnresolved(Handle<String> name, bool inside_with) { 392 virtual VariableProxy* NewUnresolved(Handle<String> name, bool inside_with) {
392 return NULL; 393 return NULL;
393 } 394 }
394 virtual VariableProxy* NewTemporary(Handle<String> name) { return NULL; } 395 virtual VariableProxy* NewTemporary(Handle<String> name) { return NULL; }
395 }; 396 };
396 397
397 398
398 } } // namespace v8::internal 399 } } // namespace v8::internal
399 400
400 #endif // V8_SCOPES_H_ 401 #endif // V8_SCOPES_H_
OLDNEW
« no previous file with comments | « src/ia32/virtual-frame-ia32.cc ('k') | src/virtual-frame-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698