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

Side by Side Diff: src/hydrogen.h

Issue 1189153002: Revert of [strong] Implement strong mode restrictions on property access (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/full-codegen.cc ('k') | src/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_HYDROGEN_H_ 5 #ifndef V8_HYDROGEN_H_
6 #define V8_HYDROGEN_H_ 6 #define V8_HYDROGEN_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/accessors.h" 10 #include "src/accessors.h"
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 bool CheckConstPhiUses(); 324 bool CheckConstPhiUses();
325 325
326 void CollectPhis(); 326 void CollectPhis();
327 327
328 HConstant* GetConstantUndefined(); 328 HConstant* GetConstantUndefined();
329 HConstant* GetConstant0(); 329 HConstant* GetConstant0();
330 HConstant* GetConstant1(); 330 HConstant* GetConstant1();
331 HConstant* GetConstantMinus1(); 331 HConstant* GetConstantMinus1();
332 HConstant* GetConstantTrue(); 332 HConstant* GetConstantTrue();
333 HConstant* GetConstantFalse(); 333 HConstant* GetConstantFalse();
334 HConstant* GetConstantBool(bool value);
335 HConstant* GetConstantHole(); 334 HConstant* GetConstantHole();
336 HConstant* GetConstantNull(); 335 HConstant* GetConstantNull();
337 HConstant* GetInvalidContext(); 336 HConstant* GetInvalidContext();
338 337
339 bool IsConstantUndefined(HConstant* constant); 338 bool IsConstantUndefined(HConstant* constant);
340 bool IsConstant0(HConstant* constant); 339 bool IsConstant0(HConstant* constant);
341 bool IsConstant1(HConstant* constant); 340 bool IsConstant1(HConstant* constant);
342 bool IsConstantMinus1(HConstant* constant); 341 bool IsConstantMinus1(HConstant* constant);
343 bool IsConstantTrue(HConstant* constant); 342 bool IsConstantTrue(HConstant* constant);
344 bool IsConstantFalse(HConstant* constant); 343 bool IsConstantFalse(HConstant* constant);
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 // case "true" of continuation is taken, otherwise the "false" 1345 // case "true" of continuation is taken, otherwise the "false"
1347 void BuildTestForDictionaryProperties(HValue* object, 1346 void BuildTestForDictionaryProperties(HValue* object,
1348 HIfContinuation* continuation); 1347 HIfContinuation* continuation);
1349 1348
1350 void BuildNonGlobalObjectCheck(HValue* receiver); 1349 void BuildNonGlobalObjectCheck(HValue* receiver);
1351 1350
1352 HValue* BuildKeyedLookupCacheHash(HValue* object, 1351 HValue* BuildKeyedLookupCacheHash(HValue* object,
1353 HValue* key); 1352 HValue* key);
1354 1353
1355 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver, 1354 HValue* BuildUncheckedDictionaryElementLoad(HValue* receiver,
1356 HValue* elements, HValue* key, 1355 HValue* elements,
1357 HValue* hash, 1356 HValue* key,
1358 LanguageMode language_mode); 1357 HValue* hash);
1359 1358
1360 HValue* BuildRegExpConstructResult(HValue* length, 1359 HValue* BuildRegExpConstructResult(HValue* length,
1361 HValue* index, 1360 HValue* index,
1362 HValue* input); 1361 HValue* input);
1363 1362
1364 // Allocates a new object according with the given allocation properties. 1363 // Allocates a new object according with the given allocation properties.
1365 HAllocate* BuildAllocate(HValue* object_size, 1364 HAllocate* BuildAllocate(HValue* object_size,
1366 HType type, 1365 HType type,
1367 InstanceType instance_type, 1366 InstanceType instance_type,
1368 HAllocationMode allocation_mode); 1367 HAllocationMode allocation_mode);
(...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after
3048 } 3047 }
3049 3048
3050 private: 3049 private:
3051 HGraphBuilder* builder_; 3050 HGraphBuilder* builder_;
3052 }; 3051 };
3053 3052
3054 3053
3055 } } // namespace v8::internal 3054 } } // namespace v8::internal
3056 3055
3057 #endif // V8_HYDROGEN_H_ 3056 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698