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

Side by Side Diff: src/heap.h

Issue 10697085: Fix compilation when disabling debugger support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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 | « samples/lineprocessor.cc ('k') | src/liveedit.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 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 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1385 1385
1386 // Implements the corresponding V8 API function. 1386 // Implements the corresponding V8 API function.
1387 bool IdleNotification(int hint); 1387 bool IdleNotification(int hint);
1388 1388
1389 // Declare all the root indices. 1389 // Declare all the root indices.
1390 enum RootListIndex { 1390 enum RootListIndex {
1391 #define ROOT_INDEX_DECLARATION(type, name, camel_name) k##camel_name##RootIndex, 1391 #define ROOT_INDEX_DECLARATION(type, name, camel_name) k##camel_name##RootIndex,
1392 STRONG_ROOT_LIST(ROOT_INDEX_DECLARATION) 1392 STRONG_ROOT_LIST(ROOT_INDEX_DECLARATION)
1393 #undef ROOT_INDEX_DECLARATION 1393 #undef ROOT_INDEX_DECLARATION
1394 1394
1395 // Utility type maps
1396 #define DECLARE_STRUCT_MAP(NAME, Name, name) k##Name##MapRootIndex,
1397 STRUCT_LIST(DECLARE_STRUCT_MAP)
1398 #undef DECLARE_STRUCT_MAP
1399
1400 #define SYMBOL_INDEX_DECLARATION(name, str) k##name##RootIndex, 1395 #define SYMBOL_INDEX_DECLARATION(name, str) k##name##RootIndex,
1401 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION) 1396 SYMBOL_LIST(SYMBOL_INDEX_DECLARATION)
1402 #undef SYMBOL_DECLARATION 1397 #undef SYMBOL_DECLARATION
1403 1398
1399 // Utility type maps
1400 #define DECLARE_STRUCT_MAP(NAME, Name, name) k##Name##MapRootIndex,
1401 STRUCT_LIST(DECLARE_STRUCT_MAP)
1402 #undef DECLARE_STRUCT_MAP
1403
1404 kSymbolTableRootIndex, 1404 kSymbolTableRootIndex,
1405 kStrongRootListLength = kSymbolTableRootIndex, 1405 kStrongRootListLength = kSymbolTableRootIndex,
1406 kRootListLength 1406 kRootListLength
1407 }; 1407 };
1408 1408
1409 STATIC_CHECK(kUndefinedValueRootIndex == Internals::kUndefinedValueRootIndex); 1409 STATIC_CHECK(kUndefinedValueRootIndex == Internals::kUndefinedValueRootIndex);
1410 STATIC_CHECK(kNullValueRootIndex == Internals::kNullValueRootIndex); 1410 STATIC_CHECK(kNullValueRootIndex == Internals::kNullValueRootIndex);
1411 STATIC_CHECK(kTrueValueRootIndex == Internals::kTrueValueRootIndex); 1411 STATIC_CHECK(kTrueValueRootIndex == Internals::kTrueValueRootIndex);
1412 STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex); 1412 STATIC_CHECK(kFalseValueRootIndex == Internals::kFalseValueRootIndex);
1413 STATIC_CHECK(kempty_symbolRootIndex == Internals::kEmptySymbolRootIndex); 1413 STATIC_CHECK(kempty_symbolRootIndex == Internals::kEmptySymbolRootIndex);
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2701 AssertNoAllocation no_alloc; // i.e. no gc allowed. 2701 AssertNoAllocation no_alloc; // i.e. no gc allowed.
2702 2702
2703 private: 2703 private:
2704 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2704 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2705 }; 2705 };
2706 #endif // DEBUG || LIVE_OBJECT_LIST 2706 #endif // DEBUG || LIVE_OBJECT_LIST
2707 2707
2708 } } // namespace v8::internal 2708 } } // namespace v8::internal
2709 2709
2710 #endif // V8_HEAP_H_ 2710 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « samples/lineprocessor.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698