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

Side by Side Diff: src/crankshaft/hydrogen-instructions.cc

Issue 1475823003: [runtime] First step to sanitize regexp literal creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
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 #include "src/crankshaft/hydrogen-instructions.h" 5 #include "src/crankshaft/hydrogen-instructions.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/base/safe_math.h" 8 #include "src/base/safe_math.h"
9 #include "src/crankshaft/hydrogen-infer-representation.h" 9 #include "src/crankshaft/hydrogen-infer-representation.h"
10 #include "src/double.h" 10 #include "src/double.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 case HValue::kLoadFieldByIndex: 811 case HValue::kLoadFieldByIndex:
812 case HValue::kLoadGlobalGeneric: 812 case HValue::kLoadGlobalGeneric:
813 case HValue::kLoadNamedField: 813 case HValue::kLoadNamedField:
814 case HValue::kLoadNamedGeneric: 814 case HValue::kLoadNamedGeneric:
815 case HValue::kLoadRoot: 815 case HValue::kLoadRoot:
816 case HValue::kMapEnumLength: 816 case HValue::kMapEnumLength:
817 case HValue::kMathMinMax: 817 case HValue::kMathMinMax:
818 case HValue::kParameter: 818 case HValue::kParameter:
819 case HValue::kPhi: 819 case HValue::kPhi:
820 case HValue::kPushArguments: 820 case HValue::kPushArguments:
821 case HValue::kRegExpLiteral:
822 case HValue::kReturn: 821 case HValue::kReturn:
823 case HValue::kSeqStringGetChar: 822 case HValue::kSeqStringGetChar:
824 case HValue::kStoreCodeEntry: 823 case HValue::kStoreCodeEntry:
825 case HValue::kStoreFrameContext: 824 case HValue::kStoreFrameContext:
826 case HValue::kStoreKeyed: 825 case HValue::kStoreKeyed:
827 case HValue::kStoreNamedField: 826 case HValue::kStoreNamedField:
828 case HValue::kStoreNamedGeneric: 827 case HValue::kStoreNamedGeneric:
829 case HValue::kStringCharCodeAt: 828 case HValue::kStringCharCodeAt:
830 case HValue::kStringCharFromCode: 829 case HValue::kStringCharFromCode:
831 case HValue::kThisFunction: 830 case HValue::kThisFunction:
(...skipping 3863 matching lines...) Expand 10 before | Expand all | Expand 10 after
4695 case HObjectAccess::kExternalMemory: 4694 case HObjectAccess::kExternalMemory:
4696 os << "[external-memory]"; 4695 os << "[external-memory]";
4697 break; 4696 break;
4698 } 4697 }
4699 4698
4700 return os << "@" << access.offset(); 4699 return os << "@" << access.offset();
4701 } 4700 }
4702 4701
4703 } // namespace internal 4702 } // namespace internal
4704 } // namespace v8 4703 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698