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

Side by Side Diff: src/platform.h

Issue 251753002: Break cyclic reference between utils and platform. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 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 30 matching lines...) Expand all
41 // implementation and the overhead of virtual methods for performance 41 // implementation and the overhead of virtual methods for performance
42 // sensitive like mutex locking/unlocking. 42 // sensitive like mutex locking/unlocking.
43 43
44 #ifndef V8_PLATFORM_H_ 44 #ifndef V8_PLATFORM_H_
45 #define V8_PLATFORM_H_ 45 #define V8_PLATFORM_H_
46 46
47 #include <stdarg.h> 47 #include <stdarg.h>
48 48
49 #include "platform/mutex.h" 49 #include "platform/mutex.h"
50 #include "platform/semaphore.h" 50 #include "platform/semaphore.h"
51 #include "utils.h" 51 #include "vector.h"
52 #include "v8globals.h" 52 #include "v8globals.h"
53 53
54 #ifdef __sun 54 #ifdef __sun
55 # ifndef signbit 55 # ifndef signbit
56 namespace std { 56 namespace std {
57 int signbit(double x); 57 int signbit(double x);
58 } 58 }
59 # endif 59 # endif
60 #endif 60 #endif
61 61
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 char name_[kMaxThreadNameLength]; 617 char name_[kMaxThreadNameLength];
618 int stack_size_; 618 int stack_size_;
619 Semaphore* start_semaphore_; 619 Semaphore* start_semaphore_;
620 620
621 DISALLOW_COPY_AND_ASSIGN(Thread); 621 DISALLOW_COPY_AND_ASSIGN(Thread);
622 }; 622 };
623 623
624 } } // namespace v8::internal 624 } } // namespace v8::internal
625 625
626 #endif // V8_PLATFORM_H_ 626 #endif // V8_PLATFORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698