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-api.cc

Issue 104793005: Fix compilation error introduced by r18363. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 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 21022 matching lines...) Expand 10 before | Expand all | Expand 10 after
21033 sem_(0), 21033 sem_(0),
21034 warmup_(20000), 21034 warmup_(20000),
21035 should_continue_(true) { 21035 should_continue_(true) {
21036 } 21036 }
21037 21037
21038 virtual ~RequestInterruptTestBase() { } 21038 virtual ~RequestInterruptTestBase() { }
21039 21039
21040 virtual void TestBody() = 0; 21040 virtual void TestBody() = 0;
21041 21041
21042 void RunTest() { 21042 void RunTest() {
21043 i::FLAG_print_opt_code = true;
21044 i::FLAG_code_comments = true;
21045 i::FLAG_print_code_stubs = true;
21046 InterruptThread i_thread(this); 21043 InterruptThread i_thread(this);
21047 i_thread.Start(); 21044 i_thread.Start();
21048 21045
21049 v8::HandleScope handle_scope(isolate_); 21046 v8::HandleScope handle_scope(isolate_);
21050 21047
21051 TestBody(); 21048 TestBody();
21052 21049
21053 isolate_->ClearInterrupt(); 21050 isolate_->ClearInterrupt();
21054 } 21051 }
21055 21052
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
21329 } 21326 }
21330 for (int i = 0; i < runs; i++) { 21327 for (int i = 0; i < runs; i++) {
21331 Local<String> expected; 21328 Local<String> expected;
21332 if (i != 0) { 21329 if (i != 0) {
21333 CHECK_EQ(v8_str("escape value"), values[i]); 21330 CHECK_EQ(v8_str("escape value"), values[i]);
21334 } else { 21331 } else {
21335 CHECK(values[i].IsEmpty()); 21332 CHECK(values[i].IsEmpty());
21336 } 21333 }
21337 } 21334 }
21338 } 21335 }
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