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

Side by Side Diff: vm/opt_code_generator_ia32.cc

Issue 10449106: Remove unused function GeneratePreEntryCode from ia32 code generator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « vm/opt_code_generator_ia32.h ('k') | 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 (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
7 7
8 #include "vm/opt_code_generator.h" 8 #include "vm/opt_code_generator.h"
9 9
10 #include "vm/assembler_macros.h" 10 #include "vm/assembler_macros.h"
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 362
363 void OptimizingCodeGenerator::TraceNotOpt(AstNode* node, const char* message) { 363 void OptimizingCodeGenerator::TraceNotOpt(AstNode* node, const char* message) {
364 if (FLAG_trace_optimization) { 364 if (FLAG_trace_optimization) {
365 OS::Print("NOTOpt node ix: %d; %s: ", node->token_index(), message); 365 OS::Print("NOTOpt node ix: %d; %s: ", node->token_index(), message);
366 AstPrinter::PrintNode(node); 366 AstPrinter::PrintNode(node);
367 OS::Print("\n"); 367 OS::Print("\n");
368 } 368 }
369 } 369 }
370 370
371 371
372 // Check for stack overflow.
373 // Note that first 5 bytes may be patched with a jump.
374 // TODO(srdjan): Add check that no object is inlined in the first
375 // 5 bytes (length of a jump instruction).
376 void OptimizingCodeGenerator::GeneratePreEntryCode() {
377 }
378
379
380 void OptimizingCodeGenerator::CallDeoptimize(intptr_t node_id, 372 void OptimizingCodeGenerator::CallDeoptimize(intptr_t node_id,
381 intptr_t token_index) { 373 intptr_t token_index) {
382 __ call(&StubCode::DeoptimizeLabel()); 374 __ call(&StubCode::DeoptimizeLabel());
383 AddCurrentDescriptor(PcDescriptors::kOther, node_id, token_index); 375 AddCurrentDescriptor(PcDescriptors::kOther, node_id, token_index);
384 #if defined(DEBUG) 376 #if defined(DEBUG)
385 __ int3(); 377 __ int3();
386 #endif 378 #endif
387 } 379 }
388 380
389 381
(...skipping 2506 matching lines...) Expand 10 before | Expand all | Expand 10 after
2896 } 2888 }
2897 } 2889 }
2898 // TODO(srdjan): Implement unary kSUB (negate) Mint. 2890 // TODO(srdjan): Implement unary kSUB (negate) Mint.
2899 CodeGenerator::VisitUnaryOpNode(node); 2891 CodeGenerator::VisitUnaryOpNode(node);
2900 } 2892 }
2901 2893
2902 2894
2903 } // namespace dart 2895 } // namespace dart
2904 2896
2905 #endif // defined TARGET_ARCH_IA32 2897 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « vm/opt_code_generator_ia32.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698