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

Side by Side Diff: src/mips/codegen-mips.cc

Issue 2861017: [Isolates] Make statics from BootstrapperActive to be instance members (Closed)
Patch Set: Created 10 years, 6 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 | « src/ia32/codegen-ia32.cc ('k') | src/objects.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 if (FLAG_trace) { 194 if (FLAG_trace) {
195 UNIMPLEMENTED_MIPS(); 195 UNIMPLEMENTED_MIPS();
196 } 196 }
197 197
198 // Compile the body of the function in a vanilla state. Don't 198 // Compile the body of the function in a vanilla state. Don't
199 // bother compiling all the code if the scope has an illegal 199 // bother compiling all the code if the scope has an illegal
200 // redeclaration. 200 // redeclaration.
201 if (!scope()->HasIllegalRedeclaration()) { 201 if (!scope()->HasIllegalRedeclaration()) {
202 Comment cmnt(masm_, "[ function body"); 202 Comment cmnt(masm_, "[ function body");
203 #ifdef DEBUG 203 #ifdef DEBUG
204 bool is_builtin = Bootstrapper::IsActive(); 204 bool is_builtin = Isolate::Current()->bootstrapper()->IsActive();
205 bool should_trace = 205 bool should_trace =
206 is_builtin ? FLAG_trace_builtin_calls : FLAG_trace_calls; 206 is_builtin ? FLAG_trace_builtin_calls : FLAG_trace_calls;
207 if (should_trace) { 207 if (should_trace) {
208 UNIMPLEMENTED_MIPS(); 208 UNIMPLEMENTED_MIPS();
209 } 209 }
210 #endif 210 #endif
211 VisitStatementsAndSpill(info->function()->body()); 211 VisitStatementsAndSpill(info->function()->body());
212 } 212 }
213 } 213 }
214 214
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1425 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15)); 1425 ASSERT(static_cast<unsigned>(cc_) >> 28 < (1 << 15));
1426 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0); 1426 return (static_cast<unsigned>(cc_) >> 27) | (strict_ ? 1 : 0);
1427 } 1427 }
1428 1428
1429 1429
1430 #undef __ 1430 #undef __
1431 1431
1432 } } // namespace v8::internal 1432 } } // namespace v8::internal
1433 1433
1434 #endif // V8_TARGET_ARCH_MIPS 1434 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698