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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 2424433002: [ic] Delete old KeyedLoadIC code (Closed)
Patch Set: fix failing test Created 4 years, 2 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/code-stubs-hydrogen.cc ('k') | src/crankshaft/hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast-type-bounds.h" 10 #include "src/ast/ast-type-bounds.h"
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 void BuildTransitionElementsKind(HValue* object, 1403 void BuildTransitionElementsKind(HValue* object,
1404 HValue* map, 1404 HValue* map,
1405 ElementsKind from_kind, 1405 ElementsKind from_kind,
1406 ElementsKind to_kind, 1406 ElementsKind to_kind,
1407 bool is_jsarray); 1407 bool is_jsarray);
1408 1408
1409 HValue* BuildNumberToString(HValue* object, AstType* type); 1409 HValue* BuildNumberToString(HValue* object, AstType* type);
1410 HValue* BuildToNumber(HValue* input); 1410 HValue* BuildToNumber(HValue* input);
1411 HValue* BuildToObject(HValue* receiver); 1411 HValue* BuildToObject(HValue* receiver);
1412 1412
1413 void BuildJSObjectCheck(HValue* receiver,
1414 int bit_field_mask);
1415
1416 // Checks a key value that's being used for a keyed element access context. If
1417 // the key is a index, i.e. a smi or a number in a unique string with a cached
1418 // numeric value, the "true" of the continuation is joined. Otherwise,
1419 // if the key is a name or a unique string, the "false" of the continuation is
1420 // joined. Otherwise, a deoptimization is triggered. In both paths of the
1421 // continuation, the key is pushed on the top of the environment.
1422 void BuildKeyedIndexCheck(HValue* key,
1423 HIfContinuation* join_continuation);
1424
1425 // Checks the properties of an object if they are in dictionary case, in which
1426 // case "true" of continuation is taken, otherwise the "false"
1427 void BuildTestForDictionaryProperties(HValue* object,
1428 HIfContinuation* continuation);
1429
1430 void BuildNonGlobalObjectCheck(HValue* receiver);
1431
1432 HValue* BuildKeyedLookupCacheHash(HValue* object,
1433 HValue* key);
1434
1435 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver, 1413 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver,
1436 HValue* elements, HValue* key, 1414 HValue* elements, HValue* key,
1437 HValue* hash); 1415 HValue* hash);
1438 1416
1439 // ES6 section 7.4.7 CreateIterResultObject ( value, done ) 1417 // ES6 section 7.4.7 CreateIterResultObject ( value, done )
1440 HValue* BuildCreateIterResultObject(HValue* value, HValue* done); 1418 HValue* BuildCreateIterResultObject(HValue* value, HValue* done);
1441 1419
1442 HValue* BuildRegExpConstructResult(HValue* length, 1420 HValue* BuildRegExpConstructResult(HValue* length,
1443 HValue* index, 1421 HValue* index,
1444 HValue* input); 1422 HValue* input);
(...skipping 1592 matching lines...) Expand 10 before | Expand all | Expand 10 after
3037 } 3015 }
3038 3016
3039 private: 3017 private:
3040 HOptimizedGraphBuilder* builder_; 3018 HOptimizedGraphBuilder* builder_;
3041 }; 3019 };
3042 3020
3043 } // namespace internal 3021 } // namespace internal
3044 } // namespace v8 3022 } // namespace v8
3045 3023
3046 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3024 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698