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

Side by Side Diff: src/globals.h

Issue 23494047: Deuglify V8_INLINE and V8_NOINLINE. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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/cpu.cc ('k') | src/platform/elapsed-timer.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 // default constructor, copy constructor and operator= functions. 335 // default constructor, copy constructor and operator= functions.
336 // 336 //
337 // This should be used in the private: declarations for a class 337 // This should be used in the private: declarations for a class
338 // that wants to prevent anyone from instantiating it. This is 338 // that wants to prevent anyone from instantiating it. This is
339 // especially useful for classes containing only static methods. 339 // especially useful for classes containing only static methods.
340 #define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \ 340 #define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \
341 TypeName() V8_DELETE; \ 341 TypeName() V8_DELETE; \
342 DISALLOW_COPY_AND_ASSIGN(TypeName) 342 DISALLOW_COPY_AND_ASSIGN(TypeName)
343 343
344 344
345 // Newly written code should use V8_INLINE() and V8_NOINLINE() directly. 345 // Newly written code should use V8_INLINE and V8_NOINLINE directly.
346 #define INLINE(declarator) V8_INLINE(declarator) 346 #define INLINE(declarator) V8_INLINE declarator
347 #define NO_INLINE(declarator) V8_NOINLINE(declarator) 347 #define NO_INLINE(declarator) V8_NOINLINE declarator
348 348
349 349
350 // Newly written code should use V8_WARN_UNUSED_RESULT. 350 // Newly written code should use V8_WARN_UNUSED_RESULT.
351 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT 351 #define MUST_USE_RESULT V8_WARN_UNUSED_RESULT
352 352
353 353
354 // Define DISABLE_ASAN macros. 354 // Define DISABLE_ASAN macros.
355 #if defined(__has_feature) 355 #if defined(__has_feature)
356 #if __has_feature(address_sanitizer) 356 #if __has_feature(address_sanitizer)
357 #define DISABLE_ASAN __attribute__((no_address_safety_analysis)) 357 #define DISABLE_ASAN __attribute__((no_address_safety_analysis))
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 // the backend, so both modes are represented by the kStrictMode value. 400 // the backend, so both modes are represented by the kStrictMode value.
401 enum StrictModeFlag { 401 enum StrictModeFlag {
402 kNonStrictMode, 402 kNonStrictMode,
403 kStrictMode 403 kStrictMode
404 }; 404 };
405 405
406 406
407 } } // namespace v8::internal 407 } } // namespace v8::internal
408 408
409 #endif // V8_GLOBALS_H_ 409 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/cpu.cc ('k') | src/platform/elapsed-timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698