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

Side by Side Diff: src/checks.h

Issue 207823003: Rename A64 port to ARM64 port (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: retry Created 6 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/builtins.cc ('k') | src/code-stubs.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 V8_Fatal(__FILE__, __LINE__, "unreachable code") 46 V8_Fatal(__FILE__, __LINE__, "unreachable code")
47 #else 47 #else
48 #define FATAL(msg) \ 48 #define FATAL(msg) \
49 V8_Fatal("", 0, "%s", (msg)) 49 V8_Fatal("", 0, "%s", (msg))
50 #define UNIMPLEMENTED() \ 50 #define UNIMPLEMENTED() \
51 V8_Fatal("", 0, "unimplemented code") 51 V8_Fatal("", 0, "unimplemented code")
52 #define UNREACHABLE() ((void) 0) 52 #define UNREACHABLE() ((void) 0)
53 #endif 53 #endif
54 54
55 // Simulator specific helpers. 55 // Simulator specific helpers.
56 #if defined(USE_SIMULATOR) && defined(V8_TARGET_ARCH_A64) 56 #if defined(USE_SIMULATOR) && defined(V8_TARGET_ARCH_ARM64)
57 // TODO(all): If possible automatically prepend an indicator like 57 // TODO(all): If possible automatically prepend an indicator like
58 // UNIMPLEMENTED or LOCATION. 58 // UNIMPLEMENTED or LOCATION.
59 #define ASM_UNIMPLEMENTED(message) \ 59 #define ASM_UNIMPLEMENTED(message) \
60 __ Debug(message, __LINE__, NO_PARAM) 60 __ Debug(message, __LINE__, NO_PARAM)
61 #define ASM_UNIMPLEMENTED_BREAK(message) \ 61 #define ASM_UNIMPLEMENTED_BREAK(message) \
62 __ Debug(message, __LINE__, \ 62 __ Debug(message, __LINE__, \
63 FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK) 63 FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK)
64 #define ASM_LOCATION(message) \ 64 #define ASM_LOCATION(message) \
65 __ Debug("LOCATION: " message, __LINE__, NO_PARAM) 65 __ Debug("LOCATION: " message, __LINE__, NO_PARAM)
66 #else 66 #else
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 // "Extra checks" are lightweight checks that are enabled in some release 345 // "Extra checks" are lightweight checks that are enabled in some release
346 // builds. 346 // builds.
347 #ifdef ENABLE_EXTRA_CHECKS 347 #ifdef ENABLE_EXTRA_CHECKS
348 #define EXTRA_CHECK(condition) CHECK(condition) 348 #define EXTRA_CHECK(condition) CHECK(condition)
349 #else 349 #else
350 #define EXTRA_CHECK(condition) ((void) 0) 350 #define EXTRA_CHECK(condition) ((void) 0)
351 #endif 351 #endif
352 352
353 #endif // V8_CHECKS_H_ 353 #endif // V8_CHECKS_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698