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

Side by Side Diff: src/code-stub-assembler.h

Issue 1974093003: WIP: Boom (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 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/code-stub-assembler.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include "src/compiler/code-assembler.h" 8 #include "src/compiler/code-assembler.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 // Returns a node that is true if the given bit is set in |word32|. 217 // Returns a node that is true if the given bit is set in |word32|.
218 template <typename T> 218 template <typename T>
219 compiler::Node* BitFieldDecode(compiler::Node* word32) { 219 compiler::Node* BitFieldDecode(compiler::Node* word32) {
220 return BitFieldDecode(word32, T::kShift, T::kMask); 220 return BitFieldDecode(word32, T::kShift, T::kMask);
221 } 221 }
222 222
223 compiler::Node* BitFieldDecode(compiler::Node* word32, uint32_t shift, 223 compiler::Node* BitFieldDecode(compiler::Node* word32, uint32_t shift,
224 uint32_t mask); 224 uint32_t mask);
225 225
226 void Boom();
227
226 // Various building blocks for stubs doing property lookups. 228 // Various building blocks for stubs doing property lookups.
227 void TryToName(compiler::Node* key, Label* if_keyisindex, Variable* var_index, 229 void TryToName(compiler::Node* key, Label* if_keyisindex, Variable* var_index,
228 Label* if_keyisunique, Label* call_runtime); 230 Label* if_keyisunique, Label* call_runtime);
229 231
230 void TryLookupProperty(compiler::Node* object, compiler::Node* map, 232 void TryLookupProperty(compiler::Node* object, compiler::Node* map,
231 compiler::Node* instance_type, compiler::Node* name, 233 compiler::Node* instance_type, compiler::Node* name,
232 Label* if_found, Label* if_not_found, 234 Label* if_found, Label* if_not_found,
233 Label* call_runtime); 235 Label* call_runtime);
234 236
235 void TryLookupElement(compiler::Node* object, compiler::Node* map, 237 void TryLookupElement(compiler::Node* object, compiler::Node* map,
(...skipping 21 matching lines...) Expand all
257 compiler::Node* top_adddress, 259 compiler::Node* top_adddress,
258 compiler::Node* limit_address); 260 compiler::Node* limit_address);
259 261
260 static const int kElementLoopUnrollThreshold = 8; 262 static const int kElementLoopUnrollThreshold = 8;
261 }; 263 };
262 264
263 } // namespace internal 265 } // namespace internal
264 } // namespace v8 266 } // namespace v8
265 267
266 #endif // V8_CODE_STUB_ASSEMBLER_H_ 268 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698