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

Side by Side Diff: test/cctest/test-log-ia32.cc

Issue 113455: Clean up the Result class. Reduce the size of Result from four words... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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
« src/register-allocator.h ('K') | « src/virtual-frame.cc ('k') | 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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 the V8 project authors. All rights reserved.
2 // 2 //
3 // Tests of profiler-related functions from log.h 3 // Tests of profiler-related functions from log.h
4 4
5 #ifdef ENABLE_LOGGING_AND_PROFILING 5 #ifdef ENABLE_LOGGING_AND_PROFILING
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include "v8.h" 9 #include "v8.h"
10 10
11 #include "codegen.h" 11 #include "codegen.h"
12 #include "log.h" 12 #include "log.h"
13 #include "top.h" 13 #include "top.h"
14 #include "cctest.h" 14 #include "cctest.h"
15 #include "disassembler.h" 15 #include "disassembler.h"
16 #include "register-allocator-inl.h"
16 17
17 using v8::Function; 18 using v8::Function;
18 using v8::Local; 19 using v8::Local;
19 using v8::Object; 20 using v8::Object;
20 using v8::Script; 21 using v8::Script;
21 using v8::String; 22 using v8::String;
22 using v8::Value; 23 using v8::Value;
23 24
24 using v8::internal::byte; 25 using v8::internal::byte;
25 using v8::internal::Address; 26 using v8::internal::Address;
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 TEST(PureCStackTrace) { 323 TEST(PureCStackTrace) {
323 TickSample sample; 324 TickSample sample;
324 StackTracer tracer(reinterpret_cast<uintptr_t>(&sample)); 325 StackTracer tracer(reinterpret_cast<uintptr_t>(&sample));
325 InitTraceEnv(&tracer, &sample); 326 InitTraceEnv(&tracer, &sample);
326 // Check that sampler doesn't crash 327 // Check that sampler doesn't crash
327 CHECK_EQ(10, CFunc(10)); 328 CHECK_EQ(10, CFunc(10));
328 } 329 }
329 330
330 331
331 #endif // ENABLE_LOGGING_AND_PROFILING 332 #endif // ENABLE_LOGGING_AND_PROFILING
OLDNEW
« src/register-allocator.h ('K') | « src/virtual-frame.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698