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

Side by Side Diff: src/x87/macro-assembler-x87.h

Issue 877243004: Load callback data from weak cell instead of embedding it in handler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 void CmpObject(Register reg, Handle<Object> object) { 267 void CmpObject(Register reg, Handle<Object> object) {
268 AllowDeferredHandleDereference heap_object_check; 268 AllowDeferredHandleDereference heap_object_check;
269 if (object->IsHeapObject()) { 269 if (object->IsHeapObject()) {
270 CmpHeapObject(reg, Handle<HeapObject>::cast(object)); 270 CmpHeapObject(reg, Handle<HeapObject>::cast(object));
271 } else { 271 } else {
272 cmp(reg, Immediate(object)); 272 cmp(reg, Immediate(object));
273 } 273 }
274 } 274 }
275 275
276 void CmpWeakValue(Register value, Handle<WeakCell> cell, Register scratch); 276 void CmpWeakValue(Register value, Handle<WeakCell> cell, Register scratch);
277 void GetWeakValue(Register value, Handle<WeakCell> cell);
277 void LoadWeakValue(Register value, Handle<WeakCell> cell, Label* miss); 278 void LoadWeakValue(Register value, Handle<WeakCell> cell, Label* miss);
278 279
279 // --------------------------------------------------------------------------- 280 // ---------------------------------------------------------------------------
280 // JavaScript invokes 281 // JavaScript invokes
281 282
282 // Invoke the JavaScript function code by either calling or jumping. 283 // Invoke the JavaScript function code by either calling or jumping.
283 void InvokeCode(Register code, 284 void InvokeCode(Register code,
284 const ParameterCount& expected, 285 const ParameterCount& expected,
285 const ParameterCount& actual, 286 const ParameterCount& actual,
286 InvokeFlag flag, 287 InvokeFlag flag,
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 } \ 1054 } \
1054 masm-> 1055 masm->
1055 #else 1056 #else
1056 #define ACCESS_MASM(masm) masm-> 1057 #define ACCESS_MASM(masm) masm->
1057 #endif 1058 #endif
1058 1059
1059 1060
1060 } } // namespace v8::internal 1061 } } // namespace v8::internal
1061 1062
1062 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1063 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698