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

Side by Side Diff: src/hydrogen.h

Issue 1182113007: Hydrogen object literals: always initialize in-object properties (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 | « no previous file | 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 2487 matching lines...) Expand 10 before | Expand all | Expand 10 after
2498 HValue* object, HIfContinuation* continuation); 2498 HValue* object, HIfContinuation* continuation);
2499 2499
2500 Handle<JSFunction> array_function() { 2500 Handle<JSFunction> array_function() {
2501 return handle(isolate()->native_context()->array_function()); 2501 return handle(isolate()->native_context()->array_function());
2502 } 2502 }
2503 2503
2504 bool IsCallArrayInlineable(int argument_count, Handle<AllocationSite> site); 2504 bool IsCallArrayInlineable(int argument_count, Handle<AllocationSite> site);
2505 void BuildInlinedCallArray(Expression* expression, int argument_count, 2505 void BuildInlinedCallArray(Expression* expression, int argument_count,
2506 Handle<AllocationSite> site); 2506 Handle<AllocationSite> site);
2507 2507
2508 void BuildInitializeInobjectProperties(HValue* receiver,
2509 Handle<Map> initial_map);
2510
2508 class PropertyAccessInfo { 2511 class PropertyAccessInfo {
2509 public: 2512 public:
2510 PropertyAccessInfo(HOptimizedGraphBuilder* builder, 2513 PropertyAccessInfo(HOptimizedGraphBuilder* builder,
2511 PropertyAccessType access_type, Handle<Map> map, 2514 PropertyAccessType access_type, Handle<Map> map,
2512 Handle<String> name) 2515 Handle<String> name)
2513 : builder_(builder), 2516 : builder_(builder),
2514 access_type_(access_type), 2517 access_type_(access_type),
2515 map_(map), 2518 map_(map),
2516 name_(name), 2519 name_(name),
2517 field_type_(HType::Tagged()), 2520 field_type_(HType::Tagged()),
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
3044 } 3047 }
3045 3048
3046 private: 3049 private:
3047 HGraphBuilder* builder_; 3050 HGraphBuilder* builder_;
3048 }; 3051 };
3049 3052
3050 3053
3051 } } // namespace v8::internal 3054 } } // namespace v8::internal
3052 3055
3053 #endif // V8_HYDROGEN_H_ 3056 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698