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

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

Issue 1018513003: Set test expectations prior to enabling --turbo-osr. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « test/cctest/test-api.cc ('k') | test/mjsunit/mjsunit.status » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 6679 matching lines...) Expand 10 before | Expand all | Expand 10 after
6690 6690
6691 v8::Debug::SetMessageHandler( 6691 v8::Debug::SetMessageHandler(
6692 SendCommandThread::CountingAndSignallingMessageHandler); 6692 SendCommandThread::CountingAndSignallingMessageHandler);
6693 send_command_thread_ = new SendCommandThread(isolate); 6693 send_command_thread_ = new SendCommandThread(isolate);
6694 send_command_thread_->Start(); 6694 send_command_thread_->Start();
6695 6695
6696 v8::Handle<v8::FunctionTemplate> start = 6696 v8::Handle<v8::FunctionTemplate> start =
6697 v8::FunctionTemplate::New(isolate, StartSendingCommands); 6697 v8::FunctionTemplate::New(isolate, StartSendingCommands);
6698 env->Global()->Set(v8_str("start"), start->GetFunction()); 6698 env->Global()->Set(v8_str("start"), start->GetFunction());
6699 6699
6700 i::FLAG_turbo_osr = false; // TODO(titzer): interrupts in TF loops.
6700 CompileRun("start(); while (true) { }"); 6701 CompileRun("start(); while (true) { }");
6701 6702
6702 CHECK_EQ(20, counting_message_handler_counter); 6703 CHECK_EQ(20, counting_message_handler_counter);
6703 6704
6704 v8::Debug::SetMessageHandler(NULL); 6705 v8::Debug::SetMessageHandler(NULL);
6705 CheckDebuggerUnloaded(); 6706 CheckDebuggerUnloaded();
6706 } 6707 }
6707 6708
6708 6709
6709 struct BacktraceData { 6710 struct BacktraceData {
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
7661 "let y = 2; \n" 7662 "let y = 2; \n"
7662 "debugger; \n" 7663 "debugger; \n"
7663 "x * y", 7664 "x * y",
7664 30); 7665 30);
7665 ExpectInt32( 7666 ExpectInt32(
7666 "x = 1; y = 2; \n" 7667 "x = 1; y = 2; \n"
7667 "debugger;" 7668 "debugger;"
7668 "x * y", 7669 "x * y",
7669 30); 7670 30);
7670 } 7671 }
OLDNEW
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698