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

Side by Side Diff: src/compiler.cc

Issue 16361015: Migrate Compare ICs to new type rep (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comments Created 7 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 | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.h » ('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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 ASSERT(info()->shared_info()->has_deoptimization_support()); 395 ASSERT(info()->shared_info()->has_deoptimization_support());
396 396
397 if (FLAG_trace_hydrogen) { 397 if (FLAG_trace_hydrogen) {
398 Handle<String> name = info()->function()->debug_name(); 398 Handle<String> name = info()->function()->debug_name();
399 PrintF("-----------------------------------------------------------\n"); 399 PrintF("-----------------------------------------------------------\n");
400 PrintF("Compiling method %s using hydrogen\n", *name->ToCString()); 400 PrintF("Compiling method %s using hydrogen\n", *name->ToCString());
401 isolate()->GetHTracer()->TraceCompilation(info()); 401 isolate()->GetHTracer()->TraceCompilation(info());
402 } 402 }
403 403
404 // Type-check the function. 404 // Type-check the function.
405 AstTyper::Type(info()); 405 AstTyper::Run(info());
406 406
407 graph_builder_ = new(info()->zone()) HOptimizedGraphBuilder(info()); 407 graph_builder_ = new(info()->zone()) HOptimizedGraphBuilder(info());
408 408
409 Timer t(this, &time_taken_to_create_graph_); 409 Timer t(this, &time_taken_to_create_graph_);
410 graph_ = graph_builder_->CreateGraph(); 410 graph_ = graph_builder_->CreateGraph();
411 411
412 if (isolate()->has_pending_exception()) { 412 if (isolate()->has_pending_exception()) {
413 info()->SetCode(Handle<Code>::null()); 413 info()->SetCode(Handle<Code>::null());
414 return SetLastStatus(FAILED); 414 return SetLastStatus(FAILED);
415 } 415 }
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 } 1210 }
1211 } 1211 }
1212 1212
1213 GDBJIT(AddCode(Handle<String>(shared->DebugName()), 1213 GDBJIT(AddCode(Handle<String>(shared->DebugName()),
1214 Handle<Script>(info->script()), 1214 Handle<Script>(info->script()),
1215 Handle<Code>(info->code()), 1215 Handle<Code>(info->code()),
1216 info)); 1216 info));
1217 } 1217 }
1218 1218
1219 } } // namespace v8::internal 1219 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698