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

Side by Side Diff: src/deoptimizer.h

Issue 2044113002: Turn Function.prototype.bind into a hydrogen stub optimized for the common case (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arm64 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 | « src/crankshaft/hydrogen-instructions.cc ('k') | src/ia32/code-stubs-ia32.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_DEOPTIMIZER_H_ 5 #ifndef V8_DEOPTIMIZER_H_
6 #define V8_DEOPTIMIZER_H_ 6 #define V8_DEOPTIMIZER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/macro-assembler.h" 9 #include "src/macro-assembler.h"
10 10
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 V(kExpectedHeapNumber, "Expected heap number") \ 333 V(kExpectedHeapNumber, "Expected heap number") \
334 V(kExpectedSmi, "Expected smi") \ 334 V(kExpectedSmi, "Expected smi") \
335 V(kForcedDeoptToRuntime, "Forced deopt to runtime") \ 335 V(kForcedDeoptToRuntime, "Forced deopt to runtime") \
336 V(kHole, "hole") \ 336 V(kHole, "hole") \
337 V(kHoleyArrayDespitePackedElements_kindFeedback, \ 337 V(kHoleyArrayDespitePackedElements_kindFeedback, \
338 "Holey array despite packed elements_kind feedback") \ 338 "Holey array despite packed elements_kind feedback") \
339 V(kInstanceMigrationFailed, "instance migration failed") \ 339 V(kInstanceMigrationFailed, "instance migration failed") \
340 V(kInsufficientTypeFeedbackForCallWithArguments, \ 340 V(kInsufficientTypeFeedbackForCallWithArguments, \
341 "Insufficient type feedback for call with arguments") \ 341 "Insufficient type feedback for call with arguments") \
342 V(kFastArrayPushFailed, "Falling off the fast path for FastArrayPush") \ 342 V(kFastArrayPushFailed, "Falling off the fast path for FastArrayPush") \
343 V(kFastFunctionBindFailed, "Falling off the fast path for FastFunctionBind") \
343 V(kInsufficientTypeFeedbackForCombinedTypeOfBinaryOperation, \ 344 V(kInsufficientTypeFeedbackForCombinedTypeOfBinaryOperation, \
344 "Insufficient type feedback for combined type of binary operation") \ 345 "Insufficient type feedback for combined type of binary operation") \
345 V(kInsufficientTypeFeedbackForGenericNamedAccess, \ 346 V(kInsufficientTypeFeedbackForGenericNamedAccess, \
346 "Insufficient type feedback for generic named access") \ 347 "Insufficient type feedback for generic named access") \
347 V(kInsufficientTypeFeedbackForKeyedLoad, \ 348 V(kInsufficientTypeFeedbackForKeyedLoad, \
348 "Insufficient type feedback for keyed load") \ 349 "Insufficient type feedback for keyed load") \
349 V(kInsufficientTypeFeedbackForKeyedStore, \ 350 V(kInsufficientTypeFeedbackForKeyedStore, \
350 "Insufficient type feedback for keyed store") \ 351 "Insufficient type feedback for keyed store") \
351 V(kInsufficientTypeFeedbackForLHSOfBinaryOperation, \ 352 V(kInsufficientTypeFeedbackForLHSOfBinaryOperation, \
352 "Insufficient type feedback for LHS of binary operation") \ 353 "Insufficient type feedback for LHS of binary operation") \
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 std::vector<Handle<Object> > expression_stack_; 1155 std::vector<Handle<Object> > expression_stack_;
1155 int source_position_; 1156 int source_position_;
1156 1157
1157 friend class Deoptimizer; 1158 friend class Deoptimizer;
1158 }; 1159 };
1159 1160
1160 } // namespace internal 1161 } // namespace internal
1161 } // namespace v8 1162 } // namespace v8
1162 1163
1163 #endif // V8_DEOPTIMIZER_H_ 1164 #endif // V8_DEOPTIMIZER_H_
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen-instructions.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698