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

Side by Side Diff: src/hydrogen.h

Issue 18154004: Replace custom builtin invocation instructions by a generic version (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 HObjectAccess access, 1122 HObjectAccess access,
1123 HValue *val, 1123 HValue *val,
1124 Representation representation = Representation::Tagged()); 1124 Representation representation = Representation::Tagged());
1125 1125
1126 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); 1126 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>);
1127 1127
1128 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); 1128 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL);
1129 1129
1130 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); 1130 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1131 1131
1132 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HContext* context); 1132 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HValue* context);
1133 1133
1134 void AddSoftDeoptimize(); 1134 void AddSoftDeoptimize();
1135 1135
1136 class IfBuilder { 1136 class IfBuilder {
1137 public: 1137 public:
1138 explicit IfBuilder(HGraphBuilder* builder, 1138 explicit IfBuilder(HGraphBuilder* builder,
1139 int position = RelocInfo::kNoPosition); 1139 int position = RelocInfo::kNoPosition);
1140 IfBuilder(HGraphBuilder* builder, 1140 IfBuilder(HGraphBuilder* builder,
1141 HIfContinuation* continuation); 1141 HIfContinuation* continuation);
1142 1142
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
2101 EmbeddedVector<char, 64> filename_; 2101 EmbeddedVector<char, 64> filename_;
2102 HeapStringAllocator string_allocator_; 2102 HeapStringAllocator string_allocator_;
2103 StringStream trace_; 2103 StringStream trace_;
2104 int indent_; 2104 int indent_;
2105 }; 2105 };
2106 2106
2107 2107
2108 } } // namespace v8::internal 2108 } } // namespace v8::internal
2109 2109
2110 #endif // V8_HYDROGEN_H_ 2110 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698