Chromium Code Reviews

Side by Side Diff: src/compiler/opcodes.h

Issue 2697063002: Fix typeof optimization for undetectable (Closed)
Patch Set: Add TypeOfIsFunction to EscapeStatusAnalysis Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 325 matching lines...)
336 V(ObjectIsNumber) \ 336 V(ObjectIsNumber) \
337 V(ObjectIsReceiver) \ 337 V(ObjectIsReceiver) \
338 V(ObjectIsSmi) \ 338 V(ObjectIsSmi) \
339 V(ObjectIsString) \ 339 V(ObjectIsString) \
340 V(ObjectIsUndetectable) \ 340 V(ObjectIsUndetectable) \
341 V(NewRestParameterElements) \ 341 V(NewRestParameterElements) \
342 V(NewUnmappedArgumentsElements) \ 342 V(NewUnmappedArgumentsElements) \
343 V(ArrayBufferWasNeutered) \ 343 V(ArrayBufferWasNeutered) \
344 V(EnsureWritableFastElements) \ 344 V(EnsureWritableFastElements) \
345 V(MaybeGrowFastElements) \ 345 V(MaybeGrowFastElements) \
346 V(TransitionElementsKind) 346 V(TransitionElementsKind) \
347 V(TypeOfIsFunction)
347 348
348 #define SIMPLIFIED_OP_LIST(V) \ 349 #define SIMPLIFIED_OP_LIST(V) \
349 SIMPLIFIED_CHANGE_OP_LIST(V) \ 350 SIMPLIFIED_CHANGE_OP_LIST(V) \
350 SIMPLIFIED_CHECKED_OP_LIST(V) \ 351 SIMPLIFIED_CHECKED_OP_LIST(V) \
351 SIMPLIFIED_COMPARE_BINOP_LIST(V) \ 352 SIMPLIFIED_COMPARE_BINOP_LIST(V) \
352 SIMPLIFIED_NUMBER_BINOP_LIST(V) \ 353 SIMPLIFIED_NUMBER_BINOP_LIST(V) \
353 SIMPLIFIED_SPECULATIVE_NUMBER_BINOP_LIST(V) \ 354 SIMPLIFIED_SPECULATIVE_NUMBER_BINOP_LIST(V) \
354 SIMPLIFIED_NUMBER_UNOP_LIST(V) \ 355 SIMPLIFIED_NUMBER_UNOP_LIST(V) \
355 SIMPLIFIED_OTHER_OP_LIST(V) 356 SIMPLIFIED_OTHER_OP_LIST(V)
356 357
(...skipping 458 matching lines...)
815 } 816 }
816 }; 817 };
817 818
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 819 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
819 820
820 } // namespace compiler 821 } // namespace compiler
821 } // namespace internal 822 } // namespace internal
822 } // namespace v8 823 } // namespace v8
823 824
824 #endif // V8_COMPILER_OPCODES_H_ 825 #endif // V8_COMPILER_OPCODES_H_
OLDNEW

Powered by Google App Engine