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

Side by Side Diff: src/isolate.h

Issue 7389008: Make Win64 compile. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 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
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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 static const int kUC16AlphabetSize = 256; // See StringSearchBase. 765 static const int kUC16AlphabetSize = 256; // See StringSearchBase.
766 static const int kBMMaxShift = 250; // See StringSearchBase. 766 static const int kBMMaxShift = 250; // See StringSearchBase.
767 767
768 // Accessors. 768 // Accessors.
769 #define GLOBAL_ACCESSOR(type, name, initialvalue) \ 769 #define GLOBAL_ACCESSOR(type, name, initialvalue) \
770 inline type name() const { \ 770 inline type name() const { \
771 ASSERT(OFFSET_OF(Isolate, name##_) == name##_debug_offset_); \ 771 ASSERT(OFFSET_OF(Isolate, name##_) == name##_debug_offset_); \
772 return name##_; \ 772 return name##_; \
773 } \ 773 } \
774 inline void set_##name(type value) { \ 774 inline void set_##name(type value) { \
775 ASSERT(OFFSET_OF(Isolate, name##_) == name##_debug_offset_); \ 775 ASSERT_EQ(OFFSET_OF(Isolate, name##_), name##_debug_offset_); \
776 name##_ = value; \ 776 name##_ = value; \
777 } 777 }
778 ISOLATE_INIT_LIST(GLOBAL_ACCESSOR) 778 ISOLATE_INIT_LIST(GLOBAL_ACCESSOR)
779 #undef GLOBAL_ACCESSOR 779 #undef GLOBAL_ACCESSOR
780 780
781 #define GLOBAL_ARRAY_ACCESSOR(type, name, length) \ 781 #define GLOBAL_ARRAY_ACCESSOR(type, name, length) \
782 inline type* name() { \ 782 inline type* name() { \
783 ASSERT(OFFSET_OF(Isolate, name##_) == name##_debug_offset_); \ 783 ASSERT(OFFSET_OF(Isolate, name##_) == name##_debug_offset_); \
784 return &(name##_)[0]; \ 784 return &(name##_)[0]; \
785 } 785 }
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 1356
1357 } } // namespace v8::internal 1357 } } // namespace v8::internal
1358 1358
1359 // TODO(isolates): Get rid of these -inl.h includes and place them only where 1359 // TODO(isolates): Get rid of these -inl.h includes and place them only where
1360 // they're needed. 1360 // they're needed.
1361 #include "allocation-inl.h" 1361 #include "allocation-inl.h"
1362 #include "zone-inl.h" 1362 #include "zone-inl.h"
1363 #include "frames-inl.h" 1363 #include "frames-inl.h"
1364 1364
1365 #endif // V8_ISOLATE_H_ 1365 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698