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

Side by Side Diff: src/objects.h

Issue 2563613003: Revert of [wasm] Fix location for error in asm.js ToNumber conversion (Closed)
Patch Set: Created 4 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
« no previous file with comments | « src/messages.cc ('k') | src/wasm/module-decoder.h » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 3114 matching lines...) Expand 10 before | Expand all | Expand 10 after
3125 inline bool IsAsmJsWasmFrame(int frame_ix) const; 3125 inline bool IsAsmJsWasmFrame(int frame_ix) const;
3126 inline int FrameCount() const; 3126 inline int FrameCount() const;
3127 3127
3128 void ShrinkToFit(); 3128 void ShrinkToFit();
3129 3129
3130 // Flags. 3130 // Flags.
3131 static const int kIsWasmFrame = 1 << 0; 3131 static const int kIsWasmFrame = 1 << 0;
3132 static const int kIsAsmJsWasmFrame = 1 << 1; 3132 static const int kIsAsmJsWasmFrame = 1 << 1;
3133 static const int kIsStrict = 1 << 2; 3133 static const int kIsStrict = 1 << 2;
3134 static const int kForceConstructor = 1 << 3; 3134 static const int kForceConstructor = 1 << 3;
3135 static const int kAsmJsAtNumberConversion = 1 << 4;
3136 3135
3137 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in, 3136 static Handle<FrameArray> AppendJSFrame(Handle<FrameArray> in,
3138 Handle<Object> receiver, 3137 Handle<Object> receiver,
3139 Handle<JSFunction> function, 3138 Handle<JSFunction> function,
3140 Handle<AbstractCode> code, int offset, 3139 Handle<AbstractCode> code, int offset,
3141 int flags); 3140 int flags);
3142 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in, 3141 static Handle<FrameArray> AppendWasmFrame(Handle<FrameArray> in,
3143 Handle<Object> wasm_instance, 3142 Handle<Object> wasm_instance,
3144 int wasm_function_index, 3143 int wasm_function_index,
3145 Handle<AbstractCode> code, 3144 Handle<AbstractCode> code,
(...skipping 8854 matching lines...) Expand 10 before | Expand all | Expand 10 after
12000 } 11999 }
12001 return value; 12000 return value;
12002 } 12001 }
12003 }; 12002 };
12004 12003
12005 12004
12006 } // NOLINT, false-positive due to second-order macros. 12005 } // NOLINT, false-positive due to second-order macros.
12007 } // NOLINT, false-positive due to second-order macros. 12006 } // NOLINT, false-positive due to second-order macros.
12008 12007
12009 #endif // V8_OBJECTS_H_ 12008 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/messages.cc ('k') | src/wasm/module-decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698