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: src/hydrogen.cc

Issue 1267493006: Remove JSFunctionResultCache. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 4 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/hydrogen.h ('k') | src/objects.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/hydrogen.h" 5 #include "src/hydrogen.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 12482 matching lines...) Expand 10 before | Expand all | Expand 10 after
12493 CHECK_ALIVE(VisitForValue(call->arguments()->at(1))); 12493 CHECK_ALIVE(VisitForValue(call->arguments()->at(1)));
12494 CHECK_ALIVE(VisitForValue(call->arguments()->at(2))); 12494 CHECK_ALIVE(VisitForValue(call->arguments()->at(2)));
12495 HValue* input = Pop(); 12495 HValue* input = Pop();
12496 HValue* index = Pop(); 12496 HValue* index = Pop();
12497 HValue* length = Pop(); 12497 HValue* length = Pop();
12498 HValue* result = BuildRegExpConstructResult(length, index, input); 12498 HValue* result = BuildRegExpConstructResult(length, index, input);
12499 return ast_context()->ReturnValue(result); 12499 return ast_context()->ReturnValue(result);
12500 } 12500 }
12501 12501
12502 12502
12503 // Support for fast native caches.
12504 void HOptimizedGraphBuilder::GenerateGetFromCache(CallRuntime* call) {
12505 return Bailout(kInlinedRuntimeFunctionGetFromCache);
12506 }
12507
12508
12509 // Fast support for number to string. 12503 // Fast support for number to string.
12510 void HOptimizedGraphBuilder::GenerateNumberToString(CallRuntime* call) { 12504 void HOptimizedGraphBuilder::GenerateNumberToString(CallRuntime* call) {
12511 DCHECK_EQ(1, call->arguments()->length()); 12505 DCHECK_EQ(1, call->arguments()->length());
12512 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); 12506 CHECK_ALIVE(VisitForValue(call->arguments()->at(0)));
12513 HValue* number = Pop(); 12507 HValue* number = Pop();
12514 HValue* result = BuildNumberToString(number, Type::Any(zone())); 12508 HValue* result = BuildNumberToString(number, Type::Any(zone()));
12515 return ast_context()->ReturnValue(result); 12509 return ast_context()->ReturnValue(result);
12516 } 12510 }
12517 12511
12518 12512
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
13504 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 13498 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
13505 } 13499 }
13506 13500
13507 #ifdef DEBUG 13501 #ifdef DEBUG
13508 graph_->Verify(false); // No full verify. 13502 graph_->Verify(false); // No full verify.
13509 #endif 13503 #endif
13510 } 13504 }
13511 13505
13512 } // namespace internal 13506 } // namespace internal
13513 } // namespace v8 13507 } // namespace v8
OLDNEW
« no previous file with comments | « src/hydrogen.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698