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

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: rebase 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
« no previous file with comments | « src/arm/lithium-codegen-arm.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 // 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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 HObjectAccess access, 1108 HObjectAccess access,
1109 HValue *val, 1109 HValue *val,
1110 Representation representation = Representation::Tagged()); 1110 Representation representation = Representation::Tagged());
1111 1111
1112 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); 1112 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>);
1113 1113
1114 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); 1114 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL);
1115 1115
1116 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); 1116 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1117 1117
1118 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HContext* context); 1118 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HValue* context);
1119 1119
1120 enum SoftDeoptimizeMode { 1120 enum SoftDeoptimizeMode {
1121 MUST_EMIT_SOFT_DEOPT, 1121 MUST_EMIT_SOFT_DEOPT,
1122 CAN_OMIT_SOFT_DEOPT 1122 CAN_OMIT_SOFT_DEOPT
1123 }; 1123 };
1124 1124
1125 void AddSoftDeoptimize(SoftDeoptimizeMode mode = CAN_OMIT_SOFT_DEOPT); 1125 void AddSoftDeoptimize(SoftDeoptimizeMode mode = CAN_OMIT_SOFT_DEOPT);
1126 1126
1127 class IfBuilder { 1127 class IfBuilder {
1128 public: 1128 public:
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 EmbeddedVector<char, 64> filename_; 2092 EmbeddedVector<char, 64> filename_;
2093 HeapStringAllocator string_allocator_; 2093 HeapStringAllocator string_allocator_;
2094 StringStream trace_; 2094 StringStream trace_;
2095 int indent_; 2095 int indent_;
2096 }; 2096 };
2097 2097
2098 2098
2099 } } // namespace v8::internal 2099 } } // namespace v8::internal
2100 2100
2101 #endif // V8_HYDROGEN_H_ 2101 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698