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

Side by Side Diff: test/cctest/test-log-stack-tracer.cc

Issue 7618040: Version 3.5.5. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 4 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 | « test/cctest/test-log.cc ('k') | test/cctest/test-parsing.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 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 using v8::Value; 47 using v8::Value;
48 48
49 using v8::internal::byte; 49 using v8::internal::byte;
50 using v8::internal::Address; 50 using v8::internal::Address;
51 using v8::internal::Handle; 51 using v8::internal::Handle;
52 using v8::internal::Isolate; 52 using v8::internal::Isolate;
53 using v8::internal::JSFunction; 53 using v8::internal::JSFunction;
54 using v8::internal::StackTracer; 54 using v8::internal::StackTracer;
55 using v8::internal::TickSample; 55 using v8::internal::TickSample;
56 56
57 namespace i = v8::internal;
58
59 57
60 static v8::Persistent<v8::Context> env; 58 static v8::Persistent<v8::Context> env;
61 59
62 60
63 static struct { 61 static struct {
64 TickSample* sample; 62 TickSample* sample;
65 } trace_env = { NULL }; 63 } trace_env = { NULL };
66 64
67 65
68 static void InitTraceEnv(TickSample* sample) { 66 static void InitTraceEnv(TickSample* sample) {
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 InitializeVM(); 402 InitializeVM();
405 v8::HandleScope scope; 403 v8::HandleScope scope;
406 CHECK_EQ(0, GetJsEntrySp()); 404 CHECK_EQ(0, GetJsEntrySp());
407 CompileRun("a = 1; b = a + 1;"); 405 CompileRun("a = 1; b = a + 1;");
408 CHECK_EQ(0, GetJsEntrySp()); 406 CHECK_EQ(0, GetJsEntrySp());
409 CompileRun("js_entry_sp();"); 407 CompileRun("js_entry_sp();");
410 CHECK_EQ(0, GetJsEntrySp()); 408 CHECK_EQ(0, GetJsEntrySp());
411 CompileRun("js_entry_sp_level2();"); 409 CompileRun("js_entry_sp_level2();");
412 CHECK_EQ(0, GetJsEntrySp()); 410 CHECK_EQ(0, GetJsEntrySp());
413 } 411 }
OLDNEW
« no previous file with comments | « test/cctest/test-log.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698