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

Side by Side Diff: src/globals.h

Issue 8403036: Remove kInvalidStrictFlag and make gcc-4.5 happy again. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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 | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 357
358 class FreeStoreAllocationPolicy; 358 class FreeStoreAllocationPolicy;
359 template <typename T, class P = FreeStoreAllocationPolicy> class List; 359 template <typename T, class P = FreeStoreAllocationPolicy> class List;
360 360
361 // ----------------------------------------------------------------------------- 361 // -----------------------------------------------------------------------------
362 // Declarations for use in both the preparser and the rest of V8. 362 // Declarations for use in both the preparser and the rest of V8.
363 363
364 // The Strict Mode (ECMA-262 5th edition, 4.2.2). 364 // The Strict Mode (ECMA-262 5th edition, 4.2.2).
365 enum StrictModeFlag { 365 enum StrictModeFlag {
366 kNonStrictMode, 366 kNonStrictMode,
367 kStrictMode, 367 kStrictMode
368 // This value is never used, but is needed to prevent GCC 4.5 from failing
369 // to compile when we assert that a flag is either kNonStrictMode or
370 // kStrictMode.
371 kInvalidStrictFlag
372 }; 368 };
373 369
374 370
375 } } // namespace v8::internal 371 } } // namespace v8::internal
376 372
377 #endif // V8_GLOBALS_H_ 373 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698