Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
33 #include "code-stubs.h"
279 // Update the static counter each time a new code stub is generated.
336 // Initialize the code pointer in the function to be the one
350 __ lea(edx, FieldOperand(edx, Code::kHeaderSize));
361 // (native context, optimized code, literals).
364 // Speculatively move code object into edx.
380 // Hit: fetch the optimized code.
386 // TODO(fschneider): Idea: store proper code pointers in the optimized code
389 __ lea(edx, FieldOperand(edx, Code::kHeaderSize));
583 // Code pattern for loading a floating point value. Input value must
589 // Code pattern for loading floating point values. Input values must
985 STATIC_ASSERT(kSmiTag == 0); // Adjust code below if not the case.
1066 // 6. For some operations emit inline code to perform floating point
1194 // 7. Non-smi operands, fall out to the non-smi code with the operands in
1196 Comment done_comment(masm, "-- Enter non-smi code");
1259 // Code falls through if the result is not returned as either a smi or heap
1679 // right optimized code, int32 type feedback is just right.
2178 // This gives slightly larger code.
2269 // return NaN for infinities and NaN. They can share all code except
2654 // This can only happen if the stub is called from non-optimized code.
2871 // The stub is called from non-optimized code, which expects the result
2910 if (kind() == Code::KEYED_LOAD_IC) {
2930 if (kind() == Code::KEYED_LOAD_IC) {
2962 if (kind() == Code::KEYED_STORE_IC) {
3035 STATIC_ASSERT(kSmiTag == 0); // Shifting code depends on these.
3051 STATIC_ASSERT(kSmiTag == 0); // Shifting code depends on these.
3418 // time or if regexp entry in generated code is turned off runtime switch or
3503 // (6) One byte sequential. Load regexp code for one byte.
3507 // Deferred code at the end of the stub:
3511 // (9) Two byte sequential. Load regexp code for one byte. Go to (E).
3568 // (6) One byte sequential. Load regexp code for one byte.
3582 // edx: irregexp code
3583 // Check that the irregexp code has been generated for the actual string
3584 // encoding. If it has, the field contains a code object otherwise it contains
3585 // a smi (code flushing support).
3590 // edx: code
3592 // All checks done. Now push arguments for native regexp code.
3637 // edx: code
3669 // Locate the code entry and call it.
3670 __ add(edx, Immediate(Code::kHeaderSize - kHeapObjectTag));
3689 // stack overflow (on the backtrack stack) was detected in RegExp code but
3704 // by javascript code.
3773 // Get the static offsets vector filled by the native regexp code.
3807 // Deferred code for string handling.
3836 // (9) Two byte sequential. Load regexp code for one byte. Go to (E).
4037 // Generate code to lookup number in the number string cache.
4108 // NOTICE! This code is only reached after a smi-fast-case check, so
4153 // type conversion, so we generate code to do fast comparison for objects
4155 // slow-case code.
4219 // Generate the number comparison code.
4277 // The number comparison code did not provide a valid result.
4551 Handle<Code> adaptor = isolate->builtins()->ArgumentsAdaptorTrampoline();
4563 Handle<Code
4589 __ lea(jmp_reg, FieldOperand(jmp_reg, Code::kHeaderSize));
4607 Handle<Code> arguments_adaptor =
4640 // which would lead to code stub initialization state being messed up.
4641 Code* save_doubles_code;
4653 Handle<Code> code = stub.GetCode(isolate);
4654 code->set_is_pregenerated(true);
4692 // Pass failure code returned from last attempt as first argument to
4720 // lead to crashes in the IC code later.
4781 // by javascript code.
4920 // handler block in this code object, so its index is 0.
4933 // reference to the trampoline code directly in this stub, because the
4945 __ lea(edx, FieldOperand(edx, Code::kHeaderSize));
4976 // Generate stub code for instanceof.
4977 // This code can patch a call site inlined cache of the instance of check,
5003 // Constants describing the call site code to patch.
5011 ASSERT_EQ(object.code(), InstanceofStub::left().code());
5012 ASSERT_EQ(function.code(), InstanceofStub::right().code());
5052 // The constants for the code patching are based on no push instructions
5262 // index is a number, but the code of getting the actual character
5298 // At this point code register contains smi tagged ASCII char code.
6162 __ mov(edx, esi); // esi used by following code.
6188 __ mov(edx, esi); // esi used by following code.
6765 __ lea(edi, FieldOperand(eax, Code::kHeaderSize));
7565 // The array construct code is only set for the global and natives
7679 // The array construct code is only set for the global and natives