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

Side by Side Diff: src/api.cc

Issue 27324: Small fixes to allow all-in-one compilation.
Patch Set: Created 11 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
« no previous file with comments | « no previous file | src/checks.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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 21 matching lines...) Expand all
32 #include "compiler.h" 32 #include "compiler.h"
33 #include "debug.h" 33 #include "debug.h"
34 #include "execution.h" 34 #include "execution.h"
35 #include "global-handles.h" 35 #include "global-handles.h"
36 #include "platform.h" 36 #include "platform.h"
37 #include "serialize.h" 37 #include "serialize.h"
38 #include "snapshot.h" 38 #include "snapshot.h"
39 #include "v8threads.h" 39 #include "v8threads.h"
40 40
41 41
42 namespace i = v8::internal;
43 #define LOG_API(expr) LOG(ApiEntryCall(expr)) 42 #define LOG_API(expr) LOG(ApiEntryCall(expr))
44 43
45 44
46 namespace v8 { 45 namespace v8 {
47 46
48 47
49 #define ON_BAILOUT(location, code) \ 48 #define ON_BAILOUT(location, code) \
50 if (IsDeadCheck(location)) { \ 49 if (IsDeadCheck(location)) { \
51 code; \ 50 code; \
52 UNREACHABLE(); \ 51 UNREACHABLE(); \
(...skipping 2982 matching lines...) Expand 10 before | Expand all | Expand 10 after
3035 reinterpret_cast<HandleScopeImplementer*>(storage); 3034 reinterpret_cast<HandleScopeImplementer*>(storage);
3036 List<void**>* blocks_of_archived_thread = thread_local->Blocks(); 3035 List<void**>* blocks_of_archived_thread = thread_local->Blocks();
3037 v8::ImplementationUtilities::HandleScopeData* handle_data_of_archived_thread = 3036 v8::ImplementationUtilities::HandleScopeData* handle_data_of_archived_thread =
3038 &thread_local->handle_scope_data_; 3037 &thread_local->handle_scope_data_;
3039 Iterate(v, blocks_of_archived_thread, handle_data_of_archived_thread); 3038 Iterate(v, blocks_of_archived_thread, handle_data_of_archived_thread);
3040 3039
3041 return storage + ArchiveSpacePerThread(); 3040 return storage + ArchiveSpacePerThread();
3042 } 3041 }
3043 3042
3044 } } // namespace v8::internal 3043 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/checks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698