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

Side by Side Diff: test/cctest/test-api.cc

Issue 6893050: Disable logging for the Threading test in cctest/test-api by default. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
« 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 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 21 matching lines...) Expand all
32 #include "api.h" 32 #include "api.h"
33 #include "compilation-cache.h" 33 #include "compilation-cache.h"
34 #include "execution.h" 34 #include "execution.h"
35 #include "snapshot.h" 35 #include "snapshot.h"
36 #include "platform.h" 36 #include "platform.h"
37 #include "utils.h" 37 #include "utils.h"
38 #include "cctest.h" 38 #include "cctest.h"
39 #include "parser.h" 39 #include "parser.h"
40 #include "unicode-inl.h" 40 #include "unicode-inl.h"
41 41
42 static const bool kLogThreading = true; 42 static const bool kLogThreading = false;
43 43
44 static bool IsNaN(double x) { 44 static bool IsNaN(double x) {
45 #ifdef WIN32 45 #ifdef WIN32
46 return _isnan(x); 46 return _isnan(x);
47 #else 47 #else
48 return isnan(x); 48 return isnan(x);
49 #endif 49 #endif
50 } 50 }
51 51
52 using ::v8::AccessorInfo; 52 using ::v8::AccessorInfo;
(...skipping 13851 matching lines...) Expand 10 before | Expand all | Expand 10 after
13904 CHECK(func2->CreationContext() == context2); 13904 CHECK(func2->CreationContext() == context2);
13905 CheckContextId(func2, 2); 13905 CheckContextId(func2, 2);
13906 CHECK(instance2->CreationContext() == context2); 13906 CHECK(instance2->CreationContext() == context2);
13907 CheckContextId(instance2, 2); 13907 CheckContextId(instance2, 2);
13908 } 13908 }
13909 13909
13910 context1.Dispose(); 13910 context1.Dispose();
13911 context2.Dispose(); 13911 context2.Dispose();
13912 context3.Dispose(); 13912 context3.Dispose();
13913 } 13913 }
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