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

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

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 11 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-disasm-arm.cc ('k') | tools/gyp/v8.gyp » ('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 2007-2010 the V8 project authors. All rights reserved. 1 // Copyright 2007-2010 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #ifdef ENABLE_DEBUGGER_SUPPORT 125 #ifdef ENABLE_DEBUGGER_SUPPORT
126 CHECK_EQ(make_code(UNCLASSIFIED, 16), 126 CHECK_EQ(make_code(UNCLASSIFIED, 16),
127 encoder.Encode(ExternalReference::debug_break(isolate).address())); 127 encoder.Encode(ExternalReference::debug_break(isolate).address()));
128 #endif // ENABLE_DEBUGGER_SUPPORT 128 #endif // ENABLE_DEBUGGER_SUPPORT
129 CHECK_EQ(make_code(UNCLASSIFIED, 10), 129 CHECK_EQ(make_code(UNCLASSIFIED, 10),
130 encoder.Encode( 130 encoder.Encode(
131 ExternalReference::new_space_start(isolate).address())); 131 ExternalReference::new_space_start(isolate).address()));
132 CHECK_EQ(make_code(UNCLASSIFIED, 3), 132 CHECK_EQ(make_code(UNCLASSIFIED, 3),
133 encoder.Encode( 133 encoder.Encode(
134 ExternalReference::roots_array_start(isolate).address())); 134 ExternalReference::roots_array_start(isolate).address()));
135 CHECK_EQ(make_code(UNCLASSIFIED, 52),
136 encoder.Encode(ExternalReference::cpu_features().address()));
135 } 137 }
136 138
137 139
138 TEST(ExternalReferenceDecoder) { 140 TEST(ExternalReferenceDecoder) {
139 Isolate* isolate = i::Isolate::Current(); 141 Isolate* isolate = i::Isolate::Current();
140 isolate->stats_table()->SetCounterFunction(counter_function); 142 isolate->stats_table()->SetCounterFunction(counter_function);
141 v8::V8::Initialize(); 143 v8::V8::Initialize();
142 144
143 ExternalReferenceDecoder decoder; 145 ExternalReferenceDecoder decoder;
144 CHECK_EQ(AddressOf(Builtins::kArrayCode), 146 CHECK_EQ(AddressOf(Builtins::kArrayCode),
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 TEST(TestThatAlwaysFails) { 595 TEST(TestThatAlwaysFails) {
594 bool ArtificialFailure = false; 596 bool ArtificialFailure = false;
595 CHECK(ArtificialFailure); 597 CHECK(ArtificialFailure);
596 } 598 }
597 599
598 600
599 DEPENDENT_TEST(DependentTestThatAlwaysFails, TestThatAlwaysSucceeds) { 601 DEPENDENT_TEST(DependentTestThatAlwaysFails, TestThatAlwaysSucceeds) {
600 bool ArtificialFailure2 = false; 602 bool ArtificialFailure2 = false;
601 CHECK(ArtificialFailure2); 603 CHECK(ArtificialFailure2);
602 } 604 }
OLDNEW
« no previous file with comments | « test/cctest/test-disasm-arm.cc ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698