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

Side by Side Diff: src/hydrogen.h

Issue 66843011: Generate DataViewInitialize built-in in hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')
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 2124 matching lines...) Expand 10 before | Expand all | Expand 10 after
2135 void HandleCompoundAssignment(Assignment* expr); 2135 void HandleCompoundAssignment(Assignment* expr);
2136 void HandlePolymorphicLoadNamedField(BailoutId ast_id, 2136 void HandlePolymorphicLoadNamedField(BailoutId ast_id,
2137 BailoutId return_id, 2137 BailoutId return_id,
2138 HValue* object, 2138 HValue* object,
2139 SmallMapList* types, 2139 SmallMapList* types,
2140 Handle<String> name); 2140 Handle<String> name);
2141 2141
2142 bool IsCallNewArrayInlineable(CallNew* expr); 2142 bool IsCallNewArrayInlineable(CallNew* expr);
2143 void BuildInlinedCallNewArray(CallNew* expr); 2143 void BuildInlinedCallNewArray(CallNew* expr);
2144 2144
2145 void VisitDataViewInitialize(CallRuntime* expr);
2146
2145 class PropertyAccessInfo { 2147 class PropertyAccessInfo {
2146 public: 2148 public:
2147 PropertyAccessInfo(Isolate* isolate, Handle<Map> map, Handle<String> name) 2149 PropertyAccessInfo(Isolate* isolate, Handle<Map> map, Handle<String> name)
2148 : lookup_(isolate), 2150 : lookup_(isolate),
2149 map_(map), 2151 map_(map),
2150 name_(name), 2152 name_(name),
2151 access_(HObjectAccess::ForMap()) { } 2153 access_(HObjectAccess::ForMap()) { }
2152 2154
2153 // Checkes whether this PropertyAccessInfo can be handled as a monomorphic 2155 // Checkes whether this PropertyAccessInfo can be handled as a monomorphic
2154 // load named. It additionally fills in the fields necessary to generate the 2156 // load named. It additionally fills in the fields necessary to generate the
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
2563 } 2565 }
2564 2566
2565 private: 2567 private:
2566 HGraphBuilder* builder_; 2568 HGraphBuilder* builder_;
2567 }; 2569 };
2568 2570
2569 2571
2570 } } // namespace v8::internal 2572 } } // namespace v8::internal
2571 2573
2572 #endif // V8_HYDROGEN_H_ 2574 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698