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

Side by Side Diff: src/d8.cc

Issue 913173002: Fix shared library build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | no next file » | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 // Defined when linking against shared lib on Windows. 6 // Defined when linking against shared lib on Windows.
7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED) 7 #if defined(USING_V8_SHARED) && !defined(V8_SHARED)
8 #define V8_SHARED 8 #define V8_SHARED
9 #endif 9 #endif
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include <windows.h> // NOLINT 59 #include <windows.h> // NOLINT
60 #if defined(_MSC_VER) 60 #if defined(_MSC_VER)
61 #include <crtdbg.h> // NOLINT 61 #include <crtdbg.h> // NOLINT
62 #endif // defined(_MSC_VER) 62 #endif // defined(_MSC_VER)
63 #endif // !defined(_WIN32) && !defined(_WIN64) 63 #endif // !defined(_WIN32) && !defined(_WIN64)
64 64
65 #ifndef DCHECK 65 #ifndef DCHECK
66 #define DCHECK(condition) assert(condition) 66 #define DCHECK(condition) assert(condition)
67 #endif 67 #endif
68 68
69 #ifndef CHECK
70 #define CHECK(condition) assert(condition)
71 #endif
72
69 namespace v8 { 73 namespace v8 {
70 74
71 75
72 static Handle<Value> Throw(Isolate* isolate, const char* message) { 76 static Handle<Value> Throw(Isolate* isolate, const char* message) {
73 return isolate->ThrowException(String::NewFromUtf8(isolate, message)); 77 return isolate->ThrowException(String::NewFromUtf8(isolate, message));
74 } 78 }
75 79
76 80
77 81
78 class PerIsolateData { 82 class PerIsolateData {
(...skipping 1614 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 } 1697 }
1694 1698
1695 } // namespace v8 1699 } // namespace v8
1696 1700
1697 1701
1698 #ifndef GOOGLE3 1702 #ifndef GOOGLE3
1699 int main(int argc, char* argv[]) { 1703 int main(int argc, char* argv[]) {
1700 return v8::Shell::Main(argc, argv); 1704 return v8::Shell::Main(argc, argv);
1701 } 1705 }
1702 #endif 1706 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698